From 723d87c280f78238378b6086ea420f1e7ff583db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20D=C3=B6singer?= Date: Fri, 30 Jul 2010 06:40:41 +0200 Subject: [PATCH] wined3d: Make glClearColor parameters floats. --- dlls/wined3d/directx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/wined3d/directx.c b/dlls/wined3d/directx.c index 482073784e8..be44e68e54e 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");