Implement gl.getParameter(gl.ALIASED_POINT_SIZE_RANGE)

This commit is contained in:
Anthony Ramine 2018-03-24 16:12:18 +01:00
parent 2ab34d5969
commit d6ebbd3e17
13 changed files with 230 additions and 32 deletions

View file

@ -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)