wined3d: Fix drawStridedSlow typo.

This commit is contained in:
Bernd Buschinski 2007-04-14 02:57:37 +02:00 committed by Alexandre Julliard
parent 042a78dd05
commit aff22d0472
1 changed files with 2 additions and 2 deletions

View File

@ -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);
}