]> git.sesse.net Git - vlc/commitdiff
Port directx output to Win64 awareness
authorJean-Baptiste Kempf <jb@videolan.org>
Wed, 19 Aug 2009 15:14:50 +0000 (17:14 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Wed, 19 Aug 2009 15:15:28 +0000 (17:15 +0200)
modules/video_output/msw/directx.c

index ddccce993c0c6f96b4b2c11479d730af08888449..fd7dd6e48083858debebf9a263402d0b68fa6360 100644 (file)
@@ -723,8 +723,8 @@ static void FirstDisplay( vout_thread_t *p_vout, picture_t *p_pic )
     if( p_vout->p_sys->b_using_overlay )
     {
         /* set the colorkey as the backgound brush for the video window */
-        SetClassLong( p_vout->p_sys->hvideownd, GCL_HBRBACKGROUND,
-                      (LONG)CreateSolidBrush( p_vout->p_sys->i_rgb_colorkey ) );
+        SetClassLongPtr( p_vout->p_sys->hvideownd, GCLP_HBRBACKGROUND,
+                      (LONG_PTR)CreateSolidBrush( p_vout->p_sys->i_rgb_colorkey ) );
     }
     /*
     ** Video window is initially hidden, show it now since we got a