mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Expose WebGL-related interfaces only in Window
This commit is contained in:
parent
6210bede8b
commit
8af2327e95
26 changed files with 82 additions and 67 deletions
|
@ -41,7 +41,7 @@ dictionary WebGLContextAttributes {
|
|||
GLboolean failIfMajorPerformanceCaveat = false;
|
||||
};
|
||||
|
||||
[NoInterfaceObject]
|
||||
[Exposed=Window, NoInterfaceObject]
|
||||
interface WebGLRenderingContextBase
|
||||
{
|
||||
|
||||
|
@ -762,6 +762,7 @@ interface WebGLRenderingContextBase
|
|||
void viewport(GLint x, GLint y, GLsizei width, GLsizei height);
|
||||
};
|
||||
|
||||
[Exposed=Window]
|
||||
interface WebGLRenderingContext
|
||||
{
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue