Merge pull request #5186 from hamish-milne/feature/fix-5067

Revert one change from #4844
This commit is contained in:
Marshall Mohror 2020-04-13 23:57:46 -05:00 committed by GitHub
commit 45dfb3aacc
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; state.texture_units[texture_index].texture_2d = default_texture;
} }
} else { } else {
state.texture_units[texture_index].texture_2d = default_texture; state.texture_units[texture_index].texture_2d = 0;
} }
} }