зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1281098 - Cache LOCAL_GL_TEXTURE_COMPARE_MODE since we need it for validation. - r=ethlin
MozReview-Commit-ID: 6bboJTWuEP7
This commit is contained in:
Родитель
d6126ddf02
Коммит
e535650d5e
|
@ -1023,6 +1023,10 @@ WebGLTexture::TexParameter(TexTarget texTarget, GLenum pname, GLint* maybeIntPar
|
|||
mWrapT = intParam;
|
||||
break;
|
||||
|
||||
case LOCAL_GL_TEXTURE_COMPARE_MODE:
|
||||
mTexCompareMode = intParam;
|
||||
break;
|
||||
|
||||
// We don't actually need to store the WRAP_R, since it doesn't change texture
|
||||
// completeness rules.
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче