mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-18 04:53:06 +01:00
Fixed iOS build.
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
|
||||
#include "bgfx_p.h"
|
||||
|
||||
#if BX_PLATFORM_IOS && (BGFX_CONFIG_RENDERER_OPENGLES2|BGFX_CONFIG_RENDERER_OPENGLES3|BGFX_CONFIG_RENDERER_OPENGL)
|
||||
#if BX_PLATFORM_IOS && (BGFX_CONFIG_RENDERER_OPENGLES|BGFX_CONFIG_RENDERER_OPENGL)
|
||||
# include <UIKit/UIKit.h>
|
||||
# include <QuartzCore/CAEAGLLayer.h>
|
||||
# include "renderer_gl.h"
|
||||
|
||||
@@ -633,10 +633,8 @@ namespace bgfx
|
||||
return "<unknown>";
|
||||
}
|
||||
|
||||
static void GL_APIENTRY debugProcCb(GLenum _source, GLenum _type, GLuint _id, GLenum _severity, GLsizei /*_length*/, const GLchar* _message, const void* /*_userParam*/)
|
||||
void GL_APIENTRY debugProcCb(GLenum _source, GLenum _type, GLuint _id, GLenum _severity, GLsizei /*_length*/, const GLchar* _message, const void* /*_userParam*/)
|
||||
{
|
||||
BX_UNUSED(debugProcCb(_source, _type, _id, _severity, 0, NULL, NULL) );
|
||||
|
||||
BX_TRACE("src %s, type %s, id %d, severity %s, '%s'"
|
||||
, toString(_source)
|
||||
, toString(_type)
|
||||
|
||||
Reference in New Issue
Block a user