mirror of
https://github.com/reactos/wine.git
synced 2025-02-03 10:43:30 +00:00
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…
x
Reference in New Issue
Block a user