diff options
Diffstat (limited to 'src/gpu/gl/GrGLShaderVar.h')
-rw-r--r-- | src/gpu/gl/GrGLShaderVar.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gpu/gl/GrGLShaderVar.h b/src/gpu/gl/GrGLShaderVar.h index acbcef3c45..7862abdb26 100644 --- a/src/gpu/gl/GrGLShaderVar.h +++ b/src/gpu/gl/GrGLShaderVar.h @@ -267,7 +267,7 @@ public: ctxInfo.glslGeneration())); out->append(" "); } - out->append(PrecisionString(fPrecision, ctxInfo.binding())); + out->append(PrecisionString(fPrecision, ctxInfo.standard())); GrSLType effectiveType = this->getType(); if (this->isArray()) { if (this->isUnsizedArray()) { @@ -302,9 +302,9 @@ public: fUseUniformFloatArrays ? "" : ".x"); } - static const char* PrecisionString(Precision p, GrGLBinding binding) { + static const char* PrecisionString(Precision p, GrGLStandard standard) { // Desktop GLSL has added precision qualifiers but they don't do anything. - if (kES_GrGLBinding == binding) { + if (kGLES_GrGLStandard == standard) { switch (p) { case kLow_Precision: return "lowp "; |