Stefan Dösinger : wined3d: Make glClearColor parameters floats.

Alexandre Julliard julliard at winehq.org
Fri Jul 30 10:24:14 CDT 2010


Module: wine
Branch: master
Commit: 723d87c280f78238378b6086ea420f1e7ff583db
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=723d87c280f78238378b6086ea420f1e7ff583db

Author: Stefan Dösinger <stefan at codeweavers.com>
Date:   Fri Jul 30 06:40:41 2010 +0200

wined3d: Make glClearColor parameters floats.

---

 dlls/wined3d/directx.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/wined3d/directx.c b/dlls/wined3d/directx.c
index 4820737..be44e68 100644
--- a/dlls/wined3d/directx.c
+++ b/dlls/wined3d/directx.c
@@ -711,7 +711,7 @@ static BOOL match_fbo_tex_update(const struct wined3d_gl_info *gl_info, const ch
     glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, 4, 4, GL_BGRA, GL_UNSIGNED_INT_8_8_8_8_REV, data);
     checkGLcall("glTexSubImage2D");
 
-    glClearColor(0.996, 0.729, 0.745, 0.792);
+    glClearColor(0.996f, 0.729f, 0.745f, 0.792f);
     glClear(GL_COLOR_BUFFER_BIT);
     checkGLcall("glClear");
 




More information about the wine-cvs mailing list