зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1280499 - Unlock UNPACK_BUFFER. - r=ethlin
MozReview-Commit-ID: 5RbFNeKsvqF
This commit is contained in:
Родитель
41c0b57871
Коммит
e4c382d96e
|
@ -20,16 +20,11 @@ WebGL2Context::ValidateBufferTarget(GLenum target, const char* funcName)
|
|||
case LOCAL_GL_COPY_WRITE_BUFFER:
|
||||
case LOCAL_GL_ELEMENT_ARRAY_BUFFER:
|
||||
case LOCAL_GL_PIXEL_PACK_BUFFER:
|
||||
case LOCAL_GL_PIXEL_UNPACK_BUFFER:
|
||||
case LOCAL_GL_TRANSFORM_FEEDBACK_BUFFER:
|
||||
case LOCAL_GL_UNIFORM_BUFFER:
|
||||
return true;
|
||||
|
||||
case LOCAL_GL_PIXEL_UNPACK_BUFFER:
|
||||
ErrorInvalidOperation("%s: PBOs are still under development, and are currently"
|
||||
" disabled.",
|
||||
funcName);
|
||||
return false;
|
||||
|
||||
default:
|
||||
ErrorInvalidEnumInfo(funcName, target);
|
||||
return false;
|
||||
|
|
Загрузка…
Ссылка в новой задаче