[vlc-devel] commit: Direct3D blurriness fix by Kaarlo Henrik Räihä ( Jean-Baptiste Kempf )

git version control git at videolan.org
Sun May 4 16:37:41 CEST 2008


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sun May  4 07:37:36 2008 -0700| [89d6e4c600a191d515497bc2a88bdc4779e90839]

Direct3D blurriness fix by Kaarlo Henrik Räihä

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=89d6e4c600a191d515497bc2a88bdc4779e90839
---

 modules/video_output/msw/direct3d.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/video_output/msw/direct3d.c b/modules/video_output/msw/direct3d.c
index 371f16b..1cd3840 100644
--- a/modules/video_output/msw/direct3d.c
+++ b/modules/video_output/msw/direct3d.c
@@ -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




More information about the vlc-devel mailing list