mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
Fix gl.linkProgram() signature
This commit is contained in:
parent
cde6023ed4
commit
0e2e834d18
3 changed files with 5 additions and 8 deletions
|
@ -594,7 +594,7 @@ impl WebGL2RenderingContextMethods for WebGL2RenderingContext {
|
|||
}
|
||||
|
||||
/// https://www.khronos.org/registry/webgl/specs/latest/1.0/#5.14.9
|
||||
fn LinkProgram(&self, program: Option<&WebGLProgram>) {
|
||||
fn LinkProgram(&self, program: &WebGLProgram) {
|
||||
self.base.LinkProgram(program)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue