Create GLES 3 context if not legacy device
This commit is contained in:
parent
8c00a1e857
commit
f9c2e40f13
@ -135,8 +135,14 @@ bool CEAGLManager::generateContext()
|
||||
switch (Params.DriverType)
|
||||
{
|
||||
case EDT_OGLES2:
|
||||
OpenGLESVersion = kEAGLRenderingAPIOpenGLES2;
|
||||
{
|
||||
// For IOS we use 64bit only and all 64bit ios devices support GLES3 anyway
|
||||
if (!Params.ForceLegacyDevice)
|
||||
OpenGLESVersion = kEAGLRenderingAPIOpenGLES3;
|
||||
else
|
||||
OpenGLESVersion = kEAGLRenderingAPIOpenGLES2;
|
||||
break;
|
||||
}
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user