Index: src/gpu/gl/GrGLSL.h |
diff --git a/src/gpu/gl/GrGLSL.h b/src/gpu/gl/GrGLSL.h |
index e65c8d3cecfb8c535ac7b48af4c048443700509d..a54bd3b3d742a7e76951fa242bd576a17efce64e 100644 |
--- a/src/gpu/gl/GrGLSL.h |
+++ b/src/gpu/gl/GrGLSL.h |
@@ -12,6 +12,7 @@ |
#include "GrColor.h" |
#include "GrTypesPriv.h" |
+class GrGLContextInfo; |
class GrGLShaderVar; |
class SkString; |
@@ -83,8 +84,7 @@ GrGLSLGeneration GrGetGLSLGeneration(GrGLBinding binding, |
* Returns a string to include at the beginning of a shader to declare the GLSL |
* version. |
*/ |
-const char* GrGetGLSLVersionDecl(GrGLBinding binding, |
- GrGLSLGeneration v); |
+const char* GrGetGLSLVersionDecl(const GrGLContextInfo&); |
/** |
* Depending on the GLSL version being emitted there may be an assumed output |