diff --git a/dlls/wined3d/utils.c b/dlls/wined3d/utils.c index 77b6b33..d15520b 100644 --- a/dlls/wined3d/utils.c +++ b/dlls/wined3d/utils.c @@ -1741,7 +1741,7 @@ GLenum D3DFmt2GLFmt(IWineD3DDeviceImpl* /* color buffer */ case WINED3DFMT_R3G3B2: retVal = GL_RGB; break; case WINED3DFMT_R5G6B5: retVal = GL_RGB; break;
case WINED3DFMT_R8G8B8: retVal = GL_RGB; break;
case WINED3DFMT_R8G8B8: retVal = GL_BGR; break; case WINED3DFMT_A1R5G5B5: retVal = GL_BGRA; break; case WINED3DFMT_X1R5G5B5: retVal = GL_BGRA; break; case WINED3DFMT_A4R4G4B4: retVal = GL_BGRA; break;
Careful, you're getting out-of-sync with surface.c. That should probably be changed also [ UnlockRect ].