mirror of
https://github.com/servo/servo.git
synced 2025-07-23 07:13:52 +01:00
webgl: Update the match for WebGLError's new InvalidFramebufferOperation.
This commit is contained in:
parent
66c736194d
commit
cc294fffcc
1 changed files with 1 additions and 0 deletions
|
@ -591,6 +591,7 @@ impl WebGLRenderingContextMethods for WebGLRenderingContext {
|
|||
let error_code = if let Some(error) = self.last_error.get() {
|
||||
match error {
|
||||
WebGLError::InvalidEnum => constants::INVALID_ENUM,
|
||||
WebGLError::InvalidFramebufferOperation => constants::INVALID_FRAMEBUFFER_OPERATION,
|
||||
WebGLError::InvalidValue => constants::INVALID_VALUE,
|
||||
WebGLError::InvalidOperation => constants::INVALID_OPERATION,
|
||||
WebGLError::OutOfMemory => constants::OUT_OF_MEMORY,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue