Use the current OpengGL standard to determine blur precision, rather than kGLES
TBR=ethannicholas@google.com,robertphillips@google.com Review URL: https://codereview.chromium.org/1408123004 .
This commit is contained in:
parent
0c768a2f33
commit
b1dda9b4cd
@ -721,7 +721,8 @@ void GrGLRectBlurEffect::emitCode(EmitArgs& args) {
|
||||
const char *rectName;
|
||||
const char *profileSizeName;
|
||||
|
||||
const char* precisionString = GrGLShaderVar::PrecisionString(fPrecision, kGLES_GrGLStandard);
|
||||
const char* precisionString = GrGLShaderVar::PrecisionString(
|
||||
fPrecision, args.fBuilder->ctxInfo().standard());
|
||||
fProxyRectUniform = args.fBuilder->addUniform(GrGLProgramBuilder::kFragment_Visibility,
|
||||
kVec4f_GrSLType,
|
||||
fPrecision,
|
||||
|
Loading…
Reference in New Issue
Block a user