Backed out changeset 397a59f9c50d (bug 1348382) for getting r-'d a=backout
MozReview-Commit-ID: GIzqqaMfz5T
This commit is contained in:
@@ -1504,13 +1504,6 @@ WebGLFramebuffer::FramebufferTextureLayer(const char* funcName, GLenum attachEnu
|
||||
return;
|
||||
}
|
||||
|
||||
if (!texImageTarget.IsValueLegal(tex->Target().get())) {
|
||||
mContext->ErrorInvalidValue("%s: `texture` does not belong to"
|
||||
" TexImageTarget",
|
||||
funcName);
|
||||
return;
|
||||
}
|
||||
|
||||
texImageTarget = tex->Target().get();
|
||||
switch (texImageTarget.get()) {
|
||||
case LOCAL_GL_TEXTURE_3D:
|
||||
|
||||
Reference in New Issue
Block a user