Skip to content

Commit d3085b0

Browse files
committed
Fix GL ES some more
1 parent eeee4ef commit d3085b0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • Backends/Graphics4/OpenGL/Sources/kinc/backend/graphics4

Backends/Graphics4/OpenGL/Sources/kinc/backend/graphics4/OpenGL.c.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ void kinc_g4_internal_init_window(int windowId, int depthBufferBits, int stencil
274274
glesGetQueryObjectuiv = (void *)eglGetProcAddress("glGetQueryObjectuiv");
275275
#endif
276276

277-
#if defined(KONC_OPENGL_ES) && defined(KINC_ANDROID)
277+
#if defined(KINC_OPENGL_ES) && defined(KINC_ANDROID)
278278
glesDrawElementsBaseVertex = (void *)eglGetProcAddress("glDrawElementsBaseVertex");
279279
#endif
280280

@@ -487,7 +487,7 @@ void kinc_g4_draw_indexed_vertices_from_to_from(int start, int count, int vertex
487487
kinc_log(KINC_LOG_LEVEL_WARNING, "BaseVertex used but not supported");
488488
}
489489
glDrawElements(GL_TRIANGLES, count, type, _start);
490-
if defined(KINC_ANDROID)
490+
#ifdef KINC_ANDROID
491491
}
492492
#endif
493493
glCheckErrors();

0 commit comments

Comments
 (0)