SDL: Support fullscreen on RPI (#1398)
Uses 24 a depth buffer if possible on OpenGL ES
This commit is contained in:
parent
43bc857b05
commit
8b015b65bd
4 changed files with 16 additions and 1 deletions
|
@ -50,6 +50,7 @@ void Context::reset() {
|
|||
packedDepthStencilSupported = false;
|
||||
unpackSubImageSupported = false;
|
||||
framebufferObjectMultisampleSupported = false;
|
||||
OESDepth24 = false;
|
||||
multisampleMaxSamples = -1;
|
||||
}
|
||||
|
||||
|
@ -96,7 +97,10 @@ void Context::initialize(ContextType contextType) {
|
|||
EXTFramebufferMultisample = true;
|
||||
} else if (token == "GL_EXT_framebuffer_blit") {
|
||||
EXTFramebufferBlit = true;
|
||||
} else if (token == "GL_OES_depth24") {
|
||||
OESDepth24 = true;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
int glslVersion = getGLSLVersion();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue