diff options
author | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2011-08-09 12:57:56 +0000 |
---|---|---|
committer | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2011-08-09 12:57:56 +0000 |
commit | ab15d618ae8c75360d414e206ae30a6845d185c4 (patch) | |
tree | 8d448739258d3a554321ebecbb930a731fad8c04 /gpu/src/GrGpuGL.cpp | |
parent | 9c6e3af89fdb6f69d76eaf8695ec816842d058ac (diff) |
fix bug in r2077
git-svn-id: http://skia.googlecode.com/svn/trunk@2078 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'gpu/src/GrGpuGL.cpp')
-rw-r--r-- | gpu/src/GrGpuGL.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gpu/src/GrGpuGL.cpp b/gpu/src/GrGpuGL.cpp index 096575c1ff..620a89597e 100644 --- a/gpu/src/GrGpuGL.cpp +++ b/gpu/src/GrGpuGL.cpp @@ -1079,12 +1079,13 @@ bool GrGpuGL::createRenderTargetObjects(int width, int height, 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. |