mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
webgl: implement getError
This commit is contained in:
parent
42bd43a696
commit
9b306aced6
4 changed files with 28 additions and 5 deletions
|
@ -129,8 +129,9 @@ pub enum CanvasWebGLMsg {
|
|||
DrawingBufferHeight(Sender<i32>),
|
||||
}
|
||||
|
||||
#[derive(Clone)]
|
||||
#[derive(Clone, Copy, PartialEq)]
|
||||
pub enum WebGLError {
|
||||
NoError,
|
||||
InvalidEnum,
|
||||
InvalidOperation,
|
||||
InvalidValue,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue