BUG=skia:2922
Review URL: https://codereview.chromium.org/
638293004
// glTexImage2D for the internal format but will accept GL_R8.
if (kNVIDIA_GrGLVendor == this->glContext().vendor() ||
kImagination_GrGLVendor == this->glContext().vendor()) {
- if (kGLES_GrGLStandard == this->glStandard() && this->glVersion() >= GR_GL_VER(3, 0)) {
+ if (kGLES_GrGLStandard == this->glStandard() && this->glVersion() >= GR_GL_VER(3, 0) &&
+ kAlpha_8_GrPixelConfig == dataConfig) {
useSizedFormat = true;
}
}