wined3d: Fix error handling in transform_texture().
This commit is contained in:
parent
a030777f74
commit
81f32c7a38
|
@ -1957,7 +1957,7 @@ static void transform_texture(DWORD state, IWineD3DStateBlockImpl *stateblock, W
|
|||
return;
|
||||
}
|
||||
|
||||
if (mapped_stage < 0) return;
|
||||
if (mapped_stage == -1) return;
|
||||
|
||||
if (GL_SUPPORT(ARB_MULTITEXTURE)) {
|
||||
if(mapped_stage >= GL_LIMITS(textures)) {
|
||||
|
|
Loading…
Reference in New Issue