mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-28 18:45:54 -05:00
Fixed Android build.
This commit is contained in:
parent
58f7676f7b
commit
ade3d5bb90
2 changed files with 3 additions and 1 deletions
|
@ -433,6 +433,8 @@ GL_IMPORT______(false, PFNGLCLEARDEPTHFPROC, glClearDepthf
|
||||||
GL_IMPORT______(true, PFNGLINSERTEVENTMARKEREXTPROC, glInsertEventMarker);
|
GL_IMPORT______(true, PFNGLINSERTEVENTMARKEREXTPROC, glInsertEventMarker);
|
||||||
GL_IMPORT______(true, PFNGLPUSHGROUPMARKEREXTPROC, glPushGroupMarker);
|
GL_IMPORT______(true, PFNGLPUSHGROUPMARKEREXTPROC, glPushGroupMarker);
|
||||||
GL_IMPORT______(true, PFNGLPOPGROUPMARKEREXTPROC, glPopGroupMarker);
|
GL_IMPORT______(true, PFNGLPOPGROUPMARKEREXTPROC, glPopGroupMarker);
|
||||||
|
#else
|
||||||
|
GL_IMPORT______(true, PFNGLVERTEXATTRIBIPOINTERPROC, glVertexAttribIPointer);
|
||||||
#endif // BGFX_USE_GL_DYNAMIC_LIB
|
#endif // BGFX_USE_GL_DYNAMIC_LIB
|
||||||
|
|
||||||
GL_IMPORT______(true, PFNGLSTRINGMARKERGREMEDYPROC, glStringMarkerGREMEDY);
|
GL_IMPORT______(true, PFNGLSTRINGMARKERGREMEDYPROC, glStringMarkerGREMEDY);
|
||||||
|
|
|
@ -6003,7 +6003,7 @@ namespace bgfx { namespace gl
|
||||||
|
|
||||||
char processMemoryUsed[16];
|
char processMemoryUsed[16];
|
||||||
bx::prettify(processMemoryUsed, BX_COUNTOF(processMemoryUsed), bx::getProcessMemoryUsed() );
|
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;
|
pos = 10;
|
||||||
tvm.printf(10, pos++, 0x8e, " Frame CPU: %7.3f, % 7.3f \x1f, % 7.3f \x1e [ms] / % 6.2f FPS "
|
tvm.printf(10, pos++, 0x8e, " Frame CPU: %7.3f, % 7.3f \x1f, % 7.3f \x1e [ms] / % 6.2f FPS "
|
||||||
|
|
Loading…
Reference in a new issue