diff options
author | Anthony Ramine <n.oxyde@gmail.com> | 2018-03-24 16:12:18 +0100 |
---|---|---|
committer | Anthony Ramine <n.oxyde@gmail.com> | 2018-03-24 16:36:19 +0100 |
commit | d6ebbd3e173f949c8606c719d2c155f52667e8eb (patch) | |
tree | e3956c868e6d03f6337664de87e1c6eff3beb02d /components/canvas_traits | |
parent | 2ab34d59691f969f945f6d313d1a68a2fbc11872 (diff) | |
download | servo-d6ebbd3e173f949c8606c719d2c155f52667e8eb.tar.gz servo-d6ebbd3e173f949c8606c719d2c155f52667e8eb.zip |
Implement gl.getParameter(gl.ALIASED_POINT_SIZE_RANGE)
Diffstat (limited to 'components/canvas_traits')
-rw-r--r-- | components/canvas_traits/webgl.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/components/canvas_traits/webgl.rs b/components/canvas_traits/webgl.rs index 208a728f293..269dc42e709 100644 --- a/components/canvas_traits/webgl.rs +++ b/components/canvas_traits/webgl.rs @@ -274,6 +274,7 @@ pub enum WebGLCommand { CreateVertexArray(WebGLSender<Option<WebGLVertexArrayId>>), DeleteVertexArray(WebGLVertexArrayId), BindVertexArray(Option<WebGLVertexArrayId>), + AliasedPointSizeRange(WebGLSender<(f32, f32)>), } macro_rules! define_resource_id_struct { @@ -546,7 +547,8 @@ impl fmt::Debug for WebGLCommand { GenerateMipmap(..) => "GenerateMipmap", CreateVertexArray(..) => "CreateVertexArray", DeleteVertexArray(..) => "DeleteVertexArray", - BindVertexArray(..) => "BindVertexArray" + BindVertexArray(..) => "BindVertexArray", + AliasedPointSizeRange(..) => "AliasedPointSizeRange", }; write!(f, "CanvasWebGLMsg::{}(..)", name) |