Index: src/gpu/gl/iOS/GrGLCreateNativeInterface_iOS.cpp |
diff --git a/src/gpu/gl/iOS/GrGLCreateNativeInterface_iOS.cpp b/src/gpu/gl/iOS/GrGLCreateNativeInterface_iOS.cpp |
index 553831d6eff6b3369a56942c6ed7fffeb9147113..6af047159a7ed4890bf6eefc61561fe7b648f205 100644 |
--- a/src/gpu/gl/iOS/GrGLCreateNativeInterface_iOS.cpp |
+++ b/src/gpu/gl/iOS/GrGLCreateNativeInterface_iOS.cpp |
@@ -6,7 +6,6 @@ |
* found in the LICENSE file. |
*/ |
- |
#include "gl/GrGLInterface.h" |
#import <OpenGLES/ES2/gl.h> |
@@ -70,7 +69,7 @@ const GrGLInterface* GrGLCreateNativeInterface() { |
functions->fReadBuffer = NULL; |
functions->fReadPixels = glReadPixels; |
functions->fScissor = glScissor; |
- functions->fShaderSource = glShaderSource; |
+ functions->fShaderSource = (GrGLShaderSourceProc) glShaderSource; |
functions->fStencilFunc = glStencilFunc; |
functions->fStencilFuncSeparate = glStencilFuncSeparate; |
functions->fStencilMask = glStencilMask; |