File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3333 <set name =" LIME_SDL" value =" 1" />
3434 <set name =" LIME_SDL_IMAGE" value =" 1" if =" LIME_SDL" />
3535 <!-- <set name="LIME_ANGLE" value="1" if="iphone" />-->
36- <set name =" LIME_GLAD" value =" 1" unless =" LIME_ANGLE " />
36+ <set name =" LIME_GLAD" value =" 1" unless =" iphone || appletv " />
3737 <set name =" LIME_ZLIB" value =" 1" />
3838
3939 <set name =" OUTPUT_DIR" value =" ../ndll" unless =" OUTPUT_DIR" />
194194
195195 <compilerflag value =" -DLIME_OPENGL" />
196196 <compilerflag value =" -DGLES_SILENCE_DEPRECATION" if =" iphone" />
197- <compilerflag value =" -I${DEVELOPER_DIR}/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS${TVOS_VER}.sdk/" if =" tvos " />
197+ <compilerflag value =" -I${DEVELOPER_DIR}/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS${TVOS_VER}.sdk/" if =" appletv " />
198198
199199 <file name =" src/bindings/opengl/OpenGLBindings.cpp" />
200200
Original file line number Diff line number Diff line change @@ -463,14 +463,18 @@ namespace lime {
463463
464464 void lime_gl_blend_barrier () {
465465
466+ #if defined(LIME_GLAD) || defined(LIME_ANGLE)
466467 glBlendBarrierKHR ();
468+ #endif
467469
468470 }
469471
470472
471473 HL_PRIM void HL_NAME (hl_gl_blend_barrier) () {
472474
475+ #if defined(LIME_GLAD) || defined(LIME_ANGLE)
473476 glBlendBarrierKHR ();
477+ #endif
474478
475479 }
476480
Original file line number Diff line number Diff line change 77 #define GL_GLEXT_PROTOTYPES 1
88 #include < GLES3/gl3.h>
99 #include < GLES2/gl2ext.h>
10+ #elif defined (IPHONE) || defined(APPLETV)
11+ #include < OpenGLES/ES3/gl.h>
12+ #include < OpenGLES/ES3/glext.h>
1013#endif
1114
1215namespace lime {
You can’t perform that action at this time.
0 commit comments