OPENGL: Support GLSL based CLUT8 look up for GLES2+.
This commit is contained in:
parent
bf2735cd53
commit
08553a09cf
6 changed files with 14 additions and 19 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue