Revert one change from #4844
This fixes #5067 by reverting a speculative change made in a previous PR. From this one can conclude that, for disabled textures, black (0,0,0,1) is the correct colour and clear (0,0,0,0) is not.
This commit is contained in:
parent
3b1b8b7e1f
commit
eb78fe0c10
|
@ -756,7 +756,7 @@ bool RasterizerOpenGL::Draw(bool accelerate, bool is_indexed) {
|
|||
state.texture_units[texture_index].texture_2d = default_texture;
|
||||
}
|
||||
} else {
|
||||
state.texture_units[texture_index].texture_2d = default_texture;
|
||||
state.texture_units[texture_index].texture_2d = 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Reference in New Issue