mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-16 19:13:40 +01:00
GLES: Merge the two ShaderID classes as they are identical.
I don't expect the number of bits required to grow or shrink massively for either type of shader in this backend.
This commit is contained in:
1 parent
31ba44bc5d
commit
b4b7cd0722
8 files changed
+39
-62
No files matched your search
@@ -1535,7 +1535,7 @@ void TextureCache::SetTexture(bool force) {
|
||||
if (maxLevel > 0 && g_Config.iTexScalingLevel == 1) {
|
||||
#ifndef USING_GLES2
|
||||
if (badMipSizes) {
|
||||
NOTICE_LOG(G3D, "Bad mipmap for texture sized %dx%dx%d - autogenerating", w, h, (int)format);
|
||||
// WARN_LOG(G3D, "Bad mipmap for texture sized %dx%dx%d - autogenerating", w, h, (int)format);
|
||||
glGenerateMipmap(GL_TEXTURE_2D);
|
||||
} else {
|
||||
for (int i = 1; i <= maxLevel; i++) {
|
||||
|
||||
Reference in new issue
Block a user