summaryrefslogtreecommitdiff
path: root/Source/3rdParty/SDL2/src/video/uikit/SDL_uikitopenglview.m
diff options
context:
space:
mode:
Diffstat (limited to 'Source/3rdParty/SDL2/src/video/uikit/SDL_uikitopenglview.m')
-rw-r--r--Source/3rdParty/SDL2/src/video/uikit/SDL_uikitopenglview.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/3rdParty/SDL2/src/video/uikit/SDL_uikitopenglview.m b/Source/3rdParty/SDL2/src/video/uikit/SDL_uikitopenglview.m
index b0628bf..9024376 100644
--- a/Source/3rdParty/SDL2/src/video/uikit/SDL_uikitopenglview.m
+++ b/Source/3rdParty/SDL2/src/video/uikit/SDL_uikitopenglview.m
@@ -101,7 +101,7 @@
SDL_SetError("sRGB drawables are not supported.");
return nil;
}
- } else if (rBits >= 8 || gBits >= 8 || bBits >= 8) {
+ } else if (rBits >= 8 || gBits >= 8 || bBits >= 8 || aBits > 0) {
/* if user specifically requests rbg888 or some color format higher than 16bpp */
colorFormat = kEAGLColorFormatRGBA8;
colorBufferFormat = GL_RGBA8;