diff options
author | 2012-04-27 18:59:52 +0000 | |
---|---|---|
committer | 2012-04-27 18:59:52 +0000 | |
commit | ec05eaaeacacdb68e593a8d327bd14997a5c60ff (patch) | |
tree | 9f96612bf8eaa794f72bc723d4601d14a6e945c7 /src/gpu/gl/GrGpuGL.cpp | |
parent | 76b7fcc79ee47db6ebea4f27e0070c467684418a (diff) |
Bumped num stages to 4 in preparation for AA clipping
http://codereview.appspot.com/6135046/
git-svn-id: http://skia.googlecode.com/svn/trunk@3783 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/gpu/gl/GrGpuGL.cpp')
-rw-r--r-- | src/gpu/gl/GrGpuGL.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/gpu/gl/GrGpuGL.cpp b/src/gpu/gl/GrGpuGL.cpp index 9abd01c966..3b5fffe7ef 100644 --- a/src/gpu/gl/GrGpuGL.cpp +++ b/src/gpu/gl/GrGpuGL.cpp @@ -230,10 +230,6 @@ void GrGpuGL::initCaps() { const GrGLInterface* gl = this->glInterface(); GR_GL_GetIntegerv(gl, GR_GL_MAX_TEXTURE_IMAGE_UNITS, &maxTextureUnits); GrAssert(maxTextureUnits > GrDrawState::kNumStages); - if (kES2_GrGLBinding != this->glBinding()) { - GR_GL_GetIntegerv(gl, GR_GL_MAX_TEXTURE_UNITS, &maxTextureUnits); - GrAssert(maxTextureUnits > GrDrawState::kNumStages); - } GrGLint numFormats; GR_GL_GetIntegerv(gl, GR_GL_NUM_COMPRESSED_TEXTURE_FORMATS, &numFormats); |