mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Add Support for WebGL Transormfeedback
Reference: https://www.khronos.org/registry/webgl/specs/latest/2.0/#3.7.15
This commit is contained in:
parent
a33d493a4f
commit
4f112b1705
17 changed files with 588 additions and 17 deletions
|
@ -1165,6 +1165,10 @@ impl WebGLRenderingContext {
|
|||
|
||||
slot.set(buffer);
|
||||
}
|
||||
|
||||
pub fn current_program(&self) -> Option<DomRoot<WebGLProgram>> {
|
||||
self.current_program.get()
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(not(feature = "webgl_backtrace"))]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue