mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-26 15:49:50 -06:00
remove some ogl error
but it doesn't resolve any issue
This commit is contained in:
@ -491,6 +491,8 @@ void TextureCache::DisableStage(unsigned int stage)
|
|||||||
|
|
||||||
void TextureCache::SetStage ()
|
void TextureCache::SetStage ()
|
||||||
{
|
{
|
||||||
|
// -1 is the initial value as we don't know which testure should be bound
|
||||||
|
if(s_ActiveTexture != (u32)-1)
|
||||||
glActiveTexture(GL_TEXTURE0 + s_ActiveTexture);
|
glActiveTexture(GL_TEXTURE0 + s_ActiveTexture);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user