Properly check limit in gl.activeTexture()

This commit is contained in:
Anthony Ramine 2018-08-03 15:18:17 +02:00
parent 73df3ad2ea
commit 8b1c753c6c
3 changed files with 155 additions and 141 deletions

View file

@ -66,7 +66,7 @@ pub struct WebGLCreateContextResult {
/// How the WebGLContext is shared with WebRender.
pub share_mode: WebGLContextShareMode,
/// The GLSL version supported by the context.
pub glsl_version: WebGLSLVersion
pub glsl_version: WebGLSLVersion,
}
#[derive(Clone, Copy, Deserialize, MallocSizeOf, Serialize)]