mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-30 20:58:54 +00:00
remove some ogl error
but it doesn't resolve any issue
This commit is contained in:
parent
7597b8b8d5
commit
f480697b9b
1 changed files with 3 additions and 1 deletions
|
@ -491,7 +491,9 @@ void TextureCache::DisableStage(unsigned int stage)
|
||||||
|
|
||||||
void TextureCache::SetStage ()
|
void TextureCache::SetStage ()
|
||||||
{
|
{
|
||||||
glActiveTexture(GL_TEXTURE0 + s_ActiveTexture);
|
// -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
void TextureCache::SetNextStage ( unsigned int stage )
|
void TextureCache::SetNextStage ( unsigned int stage )
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue