fixed missing "return" error
authorrobertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Wed, 27 Jun 2012 20:13:49 +0000 (20:13 +0000)
committerrobertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Wed, 27 Jun 2012 20:13:49 +0000 (20:13 +0000)
git-svn-id: http://skia.googlecode.com/svn/trunk@4379 2bbb7eff-a529-9590-31e7-b0007b416f81

src/gpu/gl/GrGLCaps.cpp

index 125e387..3c6726c 100644 (file)
@@ -167,7 +167,7 @@ bool GrGLCaps::readPixelsSupported(const GrGLInterface* intf,
                                    GrGLenum type) const { 
     if (GR_GL_RGBA == format && GR_GL_UNSIGNED_BYTE == type) {
         // ES 2 guarantees this format is supported
-        true;
+        return true;
     }
 
     if (!fTwoFormatLimit) {