fix bug in r2077
git-svn-id: http://skia.googlecode.com/svn/trunk@2078 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/gpu/src/GrGpuGL.cpp b/gpu/src/GrGpuGL.cpp
index 096575c..620a895 100644
--- a/gpu/src/GrGpuGL.cpp
+++ b/gpu/src/GrGpuGL.cpp
@@ -1079,12 +1079,13 @@
GrGLenum status;
GrGLint err;
+ GrGLenum msColorFormat = 0; // suppress warning
+
GR_GL(GenFramebuffers(1, &desc->fTexFBOID));
if (!desc->fTexFBOID) {
goto FAILED;
}
- GrGLenum msColorFormat = 0; // suppress warning
// If we are using multisampling we will create two FBOS. We render
// to one and then resolve to the texture bound to the other.