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:
Henrik Rydgard committed 2014-12-14 19:24:11 +01:00
1 parent 31ba44bc5d
commit b4b7cd0722
8 files changed
+39 -62

No files matched your search

+1 -1
View File
@@ -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++) {