Skip to content

Commit 4ffabe8

Browse files
Fixed iOS build
1 parent 8cedbea commit 4ffabe8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Graphics/GraphicsEngineOpenGL/include/GLStubsIOS.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -521,11 +521,11 @@ void UnsupportedGLFunctionStub( const T &Name )
521521
#define glTexStorage3DMultisample(...) UnsupportedGLFunctionStub("glTexStorage3DMultisample")
522522
#define glViewportIndexedf(...) UnsupportedGLFunctionStub("glViewportIndexedf")
523523
#define glScissorIndexed(...) UnsupportedGLFunctionStub("glScissorIndexed")
524-
#define glPolygonMode(...) UnsupportedGLFunctionStub("glPolygonMode")
524+
static void (*glPolygonMode) (GLenum face, GLenum mode) = nullptr;
525525
#define glEnablei(...) UnsupportedGLFunctionStub("glEnablei")
526526
#define glBlendFuncSeparatei(...) UnsupportedGLFunctionStub("glBlendFuncSeparatei")
527527
#define glBlendEquationSeparatei(...) UnsupportedGLFunctionStub("glBlendEquationSeparatei")
528-
#define glDisablei(...) UnsupportedGLFunctionStub("eglDisablei")
528+
#define glDisablei(...) UnsupportedGLFunctionStub("glDisablei")
529529
#define glColorMaski(...) UnsupportedGLFunctionStub("glColorMaski")
530530
#define glFramebufferTexture(...) UnsupportedGLFunctionStub("glFramebufferTexture")
531531
#define glFramebufferTexture1D(...) UnsupportedGLFunctionStub("glFramebufferTexture1D")

0 commit comments

Comments
 (0)