]> git.sesse.net Git - vlc/commitdiff
Direct3D blurriness fix by Kaarlo Henrik Räihä
authorJean-Baptiste Kempf <jb@videolan.org>
Sun, 4 May 2008 14:37:36 +0000 (07:37 -0700)
committerJean-Baptiste Kempf <jb@videolan.org>
Sun, 4 May 2008 14:38:05 +0000 (07:38 -0700)
modules/video_output/msw/direct3d.c

index 371f16bdb94efe76bc165ef995261e294b8ff36a..1cd384024c1e232ea661b59df331b049c370fab1 100644 (file)
@@ -1379,8 +1379,8 @@ static void Direct3DVoutRenderScene( vout_thread_t *p_vout, picture_t *p_pic )
     }
 
     /* Setup vertices */
-    f_width  = (float)(p_vout->output.i_width);
-    f_height = (float)(p_vout->output.i_height);
+    f_width  = (float)(p_vout->output.i_width) + 1;
+    f_height = (float)(p_vout->output.i_height) + 1;
 
     p_vertices[0].x       = 0.0f;       // left
     p_vertices[0].y       = 0.0f;       // top