wined3d: Fix drawStridedSlow typo.
This commit is contained in:
parent
042a78dd05
commit
aff22d0472
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue