OPENGL: Support GLSL based CLUT8 look up for GLES2+.

This commit is contained in:
Johannes Schickel 2016-01-03 14:06:02 +01:00
parent bf2735cd53
commit 08553a09cf
6 changed files with 14 additions and 19 deletions

View file

@ -1016,7 +1016,7 @@ void OpenGLGraphicsManager::setMousePosition(int x, int y) {
Surface *OpenGLGraphicsManager::createSurface(const Graphics::PixelFormat &format, bool wantAlpha) {
GLenum glIntFormat, glFormat, glType;
if (format.bytesPerPixel == 1) {
#if !USE_FORCED_GLES && !USE_FORCED_GLES2
#if !USE_FORCED_GLES
if (TextureCLUT8GPU::isSupportedByContext()) {
return new TextureCLUT8GPU();
}