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:
Hamish Milne 2020-04-07 15:38:24 +01:00 committed by GitHub
parent 3b1b8b7e1f
commit eb78fe0c10
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;
}
}