opengl: Move ZeroFramebuffer to context.go

This commit is contained in:
Hajime Hoshi 2016-06-04 04:04:18 +09:00
parent ca3322edbc
commit 388dd835a6
4 changed files with 2 additions and 6 deletions

View File

@ -14,6 +14,8 @@
package opengl
var ZeroFramebuffer Framebuffer
type Context struct {
Nearest Filter
Linear Filter

View File

@ -31,8 +31,6 @@ type Shader uint32
type Program uint32
type Buffer uint32
var ZeroFramebuffer Framebuffer
type uniformLocation int32
type attribLocation int32

View File

@ -31,8 +31,6 @@ type Framebuffer struct {
*js.Object
}
var ZeroFramebuffer Framebuffer
type Shader struct {
*js.Object
}

View File

@ -29,8 +29,6 @@ type Shader mgl.Shader
type Program mgl.Program
type Buffer mgl.Buffer
var ZeroFramebuffer Framebuffer
type uniformLocation mgl.Uniform
type attribLocation mgl.Attrib