diff options
author | Johannes Schickel | 2016-01-03 14:06:02 +0100 |
---|---|---|
committer | Johannes Schickel | 2016-03-16 20:29:26 +0100 |
commit | 08553a09cfa2110d56b200bf6c69d01d5adbc6bb (patch) | |
tree | 3a18208f99fef300543feb4ee8328757ed3d3ede /backends/graphics/opengl/texture.h | |
parent | bf2735cd53f13d22cf4e6013a251896a3d411b97 (diff) | |
download | scummvm-rg350-08553a09cfa2110d56b200bf6c69d01d5adbc6bb.tar.gz scummvm-rg350-08553a09cfa2110d56b200bf6c69d01d5adbc6bb.tar.bz2 scummvm-rg350-08553a09cfa2110d56b200bf6c69d01d5adbc6bb.zip |
OPENGL: Support GLSL based CLUT8 look up for GLES2+.
Diffstat (limited to 'backends/graphics/opengl/texture.h')
-rw-r--r-- | backends/graphics/opengl/texture.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/backends/graphics/opengl/texture.h b/backends/graphics/opengl/texture.h index 06fe47a241..959281539f 100644 --- a/backends/graphics/opengl/texture.h +++ b/backends/graphics/opengl/texture.h @@ -317,7 +317,7 @@ private: }; #endif // !USE_FORCED_GL -#if !USE_FORCED_GLES && !USE_FORCED_GLES2 +#if !USE_FORCED_GLES class TextureCLUT8GPU : public Surface { public: TextureCLUT8GPU(); @@ -351,7 +351,6 @@ public: static bool isSupportedByContext() { return g_context.shadersSupported && g_context.multitextureSupported - && g_context.textureRGSupported && g_context.framebufferObjectSupported; } private: @@ -376,7 +375,7 @@ private: byte _palette[4 * 256]; bool _paletteDirty; }; -#endif // !USE_FORCED_GLES && !USE_FORCED_GLES2 +#endif // !USE_FORCED_GLES } // End of namespace OpenGL |