Add support for filtering WebGL extensions based on WebGL version

This commit is contained in:
Imanol Fernandez 2017-10-27 17:06:53 +02:00
parent d21657a9e5
commit f2f5817f56
13 changed files with 87 additions and 25 deletions

View file

@ -74,7 +74,7 @@ pub enum WebGLContextShareMode {
}
/// Defines the WebGL version
#[derive(Clone, Copy, Deserialize, MallocSizeOf, Serialize)]
#[derive(Clone, Copy, Deserialize, Eq, MallocSizeOf, PartialEq, Serialize)]
pub enum WebGLVersion {
/// https://www.khronos.org/registry/webgl/specs/1.0.2/
/// Conforms closely to the OpenGL ES 2.0 API