mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Properly check limit in gl.activeTexture()
This commit is contained in:
parent
73df3ad2ea
commit
8b1c753c6c
3 changed files with 155 additions and 141 deletions
|
@ -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)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue