Index: src/gpu/gl/GrGLGLSL.cpp |
diff --git a/src/gpu/gl/GrGLGLSL.cpp b/src/gpu/gl/GrGLGLSL.cpp |
index 4aaa6f87d6d9d7dd8a1bc0471c38b5f1ec70e818..98a2386161f8c80827a070adc61a60eac48edc1b 100755 |
--- a/src/gpu/gl/GrGLGLSL.cpp |
+++ b/src/gpu/gl/GrGLGLSL.cpp |
@@ -19,9 +19,7 @@ |
switch (gl->fStandard) { |
case kGL_GrGLStandard: |
SkASSERT(ver >= GR_GLSL_VER(1,10)); |
- if (ver >= GR_GLSL_VER(4,00)) { |
- *generation = k400_GrGLSLGeneration; |
- } else if (ver >= GR_GLSL_VER(3,30)) { |
+ if (ver >= GR_GLSL_VER(3,30)) { |
*generation = k330_GrGLSLGeneration; |
} else if (ver >= GR_GLSL_VER(1,50)) { |
*generation = k150_GrGLSLGeneration; |
@@ -35,11 +33,10 @@ |
return true; |
case kGLES_GrGLStandard: |
SkASSERT(ver >= GR_GL_VER(1,00)); |
- if (ver >= GR_GLSL_VER(3,2)) { |
- *generation = k320es_GrGLSLGeneration; |
- } else if (ver >= GR_GLSL_VER(3,1)) { |
+ if (ver >= GR_GLSL_VER(3,1)) { |
*generation = k310es_GrGLSLGeneration; |
- } else if (ver >= GR_GLSL_VER(3,0)) { |
+ } |
+ else if (ver >= GR_GLSL_VER(3,0)) { |
*generation = k330_GrGLSLGeneration; |
} else { |
*generation = k110_GrGLSLGeneration; |