From ade3d5bb9078e992af608c39ed92ad880763ddf7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Branimir=20Karad=C5=BEi=C4=87?= Date: Wed, 9 Sep 2015 18:35:59 -0700 Subject: [PATCH] Fixed Android build. --- src/glimports.h | 2 ++ src/renderer_gl.cpp | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/glimports.h b/src/glimports.h index 42e07aed..7cb33752 100644 --- a/src/glimports.h +++ b/src/glimports.h @@ -433,6 +433,8 @@ GL_IMPORT______(false, PFNGLCLEARDEPTHFPROC, glClearDepthf GL_IMPORT______(true, PFNGLINSERTEVENTMARKEREXTPROC, glInsertEventMarker); GL_IMPORT______(true, PFNGLPUSHGROUPMARKEREXTPROC, glPushGroupMarker); GL_IMPORT______(true, PFNGLPOPGROUPMARKEREXTPROC, glPopGroupMarker); +#else +GL_IMPORT______(true, PFNGLVERTEXATTRIBIPOINTERPROC, glVertexAttribIPointer); #endif // BGFX_USE_GL_DYNAMIC_LIB GL_IMPORT______(true, PFNGLSTRINGMARKERGREMEDYPROC, glStringMarkerGREMEDY); diff --git a/src/renderer_gl.cpp b/src/renderer_gl.cpp index 4ae13f7e..a7702c40 100644 --- a/src/renderer_gl.cpp +++ b/src/renderer_gl.cpp @@ -6003,7 +6003,7 @@ namespace bgfx { namespace gl char processMemoryUsed[16]; bx::prettify(processMemoryUsed, BX_COUNTOF(processMemoryUsed), bx::getProcessMemoryUsed() ); - tvm.printf(0, pos++, 0x8f, " Memory: %s (process) ", processMemoryUsed); + tvm.printf(0, pos++, 0x8f, " Memory: %s (process) ", processMemoryUsed); pos = 10; tvm.printf(10, pos++, 0x8e, " Frame CPU: %7.3f, % 7.3f \x1f, % 7.3f \x1e [ms] / % 6.2f FPS "