mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-28 18:45:54 -05:00
Fixed permissions.
This commit is contained in:
parent
def41a0901
commit
a51fd54c23
8 changed files with 3 additions and 2 deletions
0
src/bgfx.cpp
Executable file → Normal file
0
src/bgfx.cpp
Executable file → Normal file
0
src/bgfx_p.h
Executable file → Normal file
0
src/bgfx_p.h
Executable file → Normal file
0
src/glcontext_eagl.h
Executable file → Normal file
0
src/glcontext_eagl.h
Executable file → Normal file
|
@ -74,7 +74,7 @@ namespace bgfx
|
|||
|
||||
BX_TRACE("glX num configs %d", numConfigs);
|
||||
|
||||
XVisualInfo* visualInfo = 0;
|
||||
XVisualInfo* visualInfo = NULL;
|
||||
for (int ii = 0; ii < numConfigs; ++ii)
|
||||
{
|
||||
visualInfo = glXGetVisualFromFBConfig(s_display, configs[ii]);
|
||||
|
@ -108,12 +108,13 @@ namespace bgfx
|
|||
if (valid)
|
||||
{
|
||||
bestConfig = configs[ii];
|
||||
BX_TRACE("Best config %d.", ii);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
XFree(visualInfo);
|
||||
visualInfo = 0;
|
||||
visualInfo = NULL;
|
||||
}
|
||||
|
||||
XFree(configs);
|
||||
|
|
0
src/glcontext_ios.h
Executable file → Normal file
0
src/glcontext_ios.h
Executable file → Normal file
0
src/glcontext_nsgl.h
Executable file → Normal file
0
src/glcontext_nsgl.h
Executable file → Normal file
0
src/glcontext_nsgl.mm
Executable file → Normal file
0
src/glcontext_nsgl.mm
Executable file → Normal file
0
src/renderer_gl.h
Executable file → Normal file
0
src/renderer_gl.h
Executable file → Normal file
Loading…
Reference in a new issue