Rico Schüller : wined3d: Fix copy and past error.

Alexandre Julliard julliard at winehq.org
Thu Mar 6 11:08:35 CST 2008


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

Author: Rico Schüller <kgbricola at web.de>
Date:   Wed Mar  5 22:25:06 2008 +0100

wined3d: Fix copy and past error.

---

 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 2e85eba..04af700 100644
--- a/dlls/wined3d/directx.c
+++ b/dlls/wined3d/directx.c
@@ -3239,7 +3239,7 @@ void fillGLAttribFuncs(WineD3D_GL_Info *gl_info) {
     if(GL_SUPPORT(EXT_SECONDARY_COLOR)) {
         specular_funcs[WINED3DDECLTYPE_D3DCOLOR]    = (void *) specular_d3dcolor;
     } else {
-        specular_funcs[WINED3DDECLTYPE_FLOAT3]      = (void *) warn_no_specular_func;
+        specular_funcs[WINED3DDECLTYPE_D3DCOLOR]      = (void *) warn_no_specular_func;
     }
     specular_funcs[WINED3DDECLTYPE_UBYTE4]      = (void *) invalid_func;
     specular_funcs[WINED3DDECLTYPE_SHORT2]      = (void *) invalid_func;




More information about the wine-cvs mailing list