forked from organicmaps/organicmaps
fixed compilation error for Xcode.
This commit is contained in:
parent
521c00cb8b
commit
8f5c166e40
1 changed files with 7 additions and 0 deletions
|
@ -38,6 +38,7 @@ namespace yg
|
|||
|
||||
const GLenum GL_VERTEX_ARRAY_MWM = GL_VERTEX_ARRAY;
|
||||
const GLenum GL_TEXTURE_COORD_ARRAY_MWM = GL_TEXTURE_COORD_ARRAY;
|
||||
const GLenum GL_NORMAL_ARRAY_MWM = GL_NORMAL_ARRAY;
|
||||
|
||||
void InitializeThread()
|
||||
{}
|
||||
|
@ -45,6 +46,11 @@ namespace yg
|
|||
void FinalizeThread()
|
||||
{}
|
||||
|
||||
void glNormalPointerImpl(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer)
|
||||
{
|
||||
glNormalPointer(type, stride, pointer);
|
||||
}
|
||||
|
||||
void InitExtensions()
|
||||
{
|
||||
DumpGLInformation();
|
||||
|
@ -55,6 +61,7 @@ namespace yg
|
|||
|
||||
glVertexPointerFn = &glVertexPointer;
|
||||
glTexCoordPointerFn = &glTexCoordPointer;
|
||||
glNormalPointerFn = &glNormalPointerImpl;
|
||||
glEnableClientStateFn = &glEnableClientState;
|
||||
|
||||
glMatrixModeFn = &glMatrixMode;
|
||||
|
|
Loading…
Add table
Reference in a new issue