mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-13 07:57:58 +00:00
Fixed inconsistent texture wrapping
Sampler state needs to be reseted when hardware texture resources are released
This commit is contained in:
parent
333560086d
commit
4c4b97316e
1 changed files with 2 additions and 0 deletions
|
@ -173,6 +173,8 @@ void FGLTexture::Clean(bool all)
|
||||||
delete mHwTexture;
|
delete mHwTexture;
|
||||||
mHwTexture = NULL;
|
mHwTexture = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
lastSampler = 253;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue