wined3d: UBYTE4 data shouldn't be normalized.

This commit is contained in:
H. Verbeet 2007-08-20 01:10:22 +02:00 committed by Alexandre Julliard
parent 89939b5a2b
commit 3c609c11e7

View File

@ -761,7 +761,7 @@ static inline void drawStridedInstanced(IWineD3DDevice *iface, WineDirect3DVerte
break; break;
case WINED3DDECLTYPE_UBYTE4: case WINED3DDECLTYPE_UBYTE4:
GL_EXTCALL(glVertexAttrib4NubvARB(instancedData[j], ptr)); GL_EXTCALL(glVertexAttrib4ubvARB(instancedData[j], ptr));
break; break;
case WINED3DDECLTYPE_UBYTE4N: case WINED3DDECLTYPE_UBYTE4N:
case WINED3DDECLTYPE_D3DCOLOR: case WINED3DDECLTYPE_D3DCOLOR: