Correction of GLES build issue introduced by in revision:
authortwiz@google.com <twiz@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Tue, 15 Mar 2011 16:12:21 +0000 (16:12 +0000)
committertwiz@google.com <twiz@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Tue, 15 Mar 2011 16:12:21 +0000 (16:12 +0000)
http://code.google.com/p/skia/source/detail?r=937

Issue: http://code.google.com/p/skia/issues/detail?id=174
Review: http://codereview.appspot.com/4288047/

git-svn-id: http://skia.googlecode.com/svn/trunk@940 2bbb7eff-a529-9590-31e7-b0007b416f81

gpu/src/GrGLInterface.cpp

index e74d29d..f296be7 100644 (file)
@@ -226,7 +226,7 @@ void InitializeGLInterfaceExtensions(GrGLInterface* glBindings) {
 void GrGLInitializeGLInterface(GrGLInterface* glBindings) {
     Gr_bzero(glBindings, sizeof(GrGLInterface));
 
-#if GR_SUPPORT_GLDESKTOP
+#if GR_SUPPORT_GLDESKTOP || GR_SUPPORT_GLES1
     // These entry points only exist on desktop GL implementations.
     GR_GL_GET_PROC_SYMBOL(Color4ub);
     GR_GL_GET_PROC_SYMBOL(ColorPointer);