mirror of
https://github.com/servo/servo.git
synced 2025-08-04 21:20:23 +01:00
Implement WebGLRenderingContextBase.getAttachedShaders
This commit is contained in:
parent
2befe47384
commit
a62bed82e4
11 changed files with 149 additions and 124 deletions
|
@ -974,6 +974,14 @@ impl WebGL2RenderingContextMethods for WebGL2RenderingContext {
|
|||
level: i32) {
|
||||
self.base.FramebufferTexture2D(target, attachment, textarget, texture, level)
|
||||
}
|
||||
|
||||
/// https://www.khronos.org/registry/webgl/specs/latest/1.0/#5.14.9
|
||||
fn GetAttachedShaders(
|
||||
&self,
|
||||
program: &WebGLProgram,
|
||||
) -> Option<Vec<DomRoot<WebGLShader>>> {
|
||||
self.base.GetAttachedShaders(program)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue