(iOS) Buildfix
This commit is contained in:
parent
56d744ceaa
commit
097d9bc13b
|
@ -343,7 +343,7 @@ static bool cocoagl_gfx_ctx_set_video_mode(void *data,
|
||||||
[g_context setView:g_view];
|
[g_context setView:g_view];
|
||||||
#else
|
#else
|
||||||
if (g_use_hw_ctx)
|
if (g_use_hw_ctx)
|
||||||
g_hw_ctx = [[EAGLContext alloc] initWithAPI:kEAGLrenderingAPIOpenGLES2];
|
g_hw_ctx = [[EAGLContext alloc] initWithAPI:kEAGLRenderingAPIOpenGLES2];
|
||||||
g_context = [[EAGLContext alloc] initWithAPI:kEAGLRenderingAPIOpenGLES2];
|
g_context = [[EAGLContext alloc] initWithAPI:kEAGLRenderingAPIOpenGLES2];
|
||||||
g_view.context = g_context;
|
g_view.context = g_context;
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue