mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2024-12-11 23:54:33 +01:00
GL: Rename PicaTexture to MaxwellTexture.
This commit is contained in:
parent
f73a280eeb
commit
0171ec606b
@ -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) {
|
||||
|
@ -16,7 +16,7 @@ struct TextureUnit {
|
||||
}
|
||||
};
|
||||
|
||||
constexpr TextureUnit PicaTexture(int unit) {
|
||||
constexpr TextureUnit MaxwellTexture(int unit) {
|
||||
return TextureUnit{unit};
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user