GL: Rename PicaTexture to MaxwellTexture.
This commit is contained in:
parent
f73a280eeb
commit
0171ec606b
|
@ -194,7 +194,7 @@ void OpenGLState::Apply() const {
|
||||||
// Textures
|
// Textures
|
||||||
for (unsigned i = 0; i < ARRAY_SIZE(texture_units); ++i) {
|
for (unsigned i = 0; i < ARRAY_SIZE(texture_units); ++i) {
|
||||||
if (texture_units[i].texture_2d != cur_state.texture_units[i].texture_2d) {
|
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);
|
glBindTexture(GL_TEXTURE_2D, texture_units[i].texture_2d);
|
||||||
}
|
}
|
||||||
if (texture_units[i].sampler != cur_state.texture_units[i].sampler) {
|
if (texture_units[i].sampler != cur_state.texture_units[i].sampler) {
|
||||||
|
|
|
@ -16,7 +16,7 @@ struct TextureUnit {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
constexpr TextureUnit PicaTexture(int unit) {
|
constexpr TextureUnit MaxwellTexture(int unit) {
|
||||||
return TextureUnit{unit};
|
return TextureUnit{unit};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Reference in New Issue