From aff22d0472a285449b17bdd913143391e8bb08b8 Mon Sep 17 00:00:00 2001 From: Bernd Buschinski Date: Sat, 14 Apr 2007 02:57:37 +0200 Subject: [PATCH] wined3d: Fix drawStridedSlow typo. --- dlls/wined3d/drawprim.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/wined3d/drawprim.c b/dlls/wined3d/drawprim.c index 9ec6142b186..dfed5c532c0 100644 --- a/dlls/wined3d/drawprim.c +++ b/dlls/wined3d/drawprim.c @@ -510,10 +510,10 @@ static void drawStridedSlow(IWineD3DDevice *iface, WineDirect3DVertexStridedData if (sd->u.s.normal.lpData == NULL) { glNormal3f(0, 0, 1); } - if(sd->u.s.diffuse.lpData != NULL) { + if(sd->u.s.diffuse.lpData == NULL) { glColor4f(1.0f, 1.0f, 1.0f, 1.0f); } - if(sd->u.s.specular.lpData != NULL) { + if(sd->u.s.specular.lpData == NULL) { if (GL_SUPPORT(EXT_SECONDARY_COLOR)) { GL_EXTCALL(glSecondaryColor3fEXT)(0, 0, 0); }