Properly implement the checks for gl.renderbufferStorage (fixes #20563)

This commit is contained in:
Anthony Ramine 2018-07-09 10:32:09 +02:00
parent fc0e403fb0
commit ef7d495838
2 changed files with 4 additions and 19 deletions

View file

@ -106,8 +106,6 @@ impl WebGLRenderbuffer {
_ => return Err(WebGLError::InvalidEnum),
};
// FIXME: Check that w/h are < MAX_RENDERBUFFER_SIZE
// FIXME: Invalidate completeness after the call
let msg = WebGLCommand::RenderbufferStorage(constants::RENDERBUFFER, internal_format, width, height);