mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-28 18:45:54 -05:00
EGL: Fixed compile error.
This commit is contained in:
parent
56eee90cbb
commit
1dd602dd83
1 changed files with 2 additions and 2 deletions
|
@ -255,6 +255,8 @@ EGL_IMPORT
|
|||
{
|
||||
bx::StaticMemoryBlockWriter writer(s_contextAttrs, sizeof(s_contextAttrs) );
|
||||
|
||||
EGLint flags = 0;
|
||||
|
||||
if (hasEglKhrCreateContext)
|
||||
{
|
||||
bx::write(&writer, EGLint(EGL_CONTEXT_MAJOR_VERSION_KHR) );
|
||||
|
@ -263,8 +265,6 @@ EGL_IMPORT
|
|||
bx::write(&writer, EGLint(EGL_CONTEXT_MINOR_VERSION_KHR) );
|
||||
bx::write(&writer, EGLint(BGFX_CONFIG_RENDERER_OPENGLES % 10) );
|
||||
|
||||
EGLint flags = 0;
|
||||
|
||||
flags |= BGFX_CONFIG_DEBUG && hasEglKhrNoError ? 0
|
||||
| EGL_CONTEXT_FLAG_NO_ERROR_BIT_KHR
|
||||
: 0
|
||||
|
|
Loading…
Reference in a new issue