GL: Rename PicaTexture to MaxwellTexture.

This commit is contained in:
Subv 2018-03-26 21:41:47 -05:00 committed by James Rowe
parent f73a280eeb
commit 0171ec606b
2 changed files with 2 additions and 2 deletions

View File

@ -194,7 +194,7 @@ void OpenGLState::Apply() const {
// Textures
for (unsigned i = 0; i < ARRAY_SIZE(texture_units); ++i) {
if (texture_units[i].texture_2d != cur_state.texture_units[i].texture_2d) {
glActiveTexture(TextureUnits::PicaTexture(i).Enum());
glActiveTexture(TextureUnits::MaxwellTexture(i).Enum());
glBindTexture(GL_TEXTURE_2D, texture_units[i].texture_2d);
}
if (texture_units[i].sampler != cur_state.texture_units[i].sampler) {

View File

@ -16,7 +16,7 @@ struct TextureUnit {
}
};
constexpr TextureUnit PicaTexture(int unit) {
constexpr TextureUnit MaxwellTexture(int unit) {
return TextureUnit{unit};
}