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 package opengl
var ZeroFramebuffer Framebuffer
type Context struct { type Context struct {
Nearest Filter Nearest Filter
Linear Filter Linear Filter

View File

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

View File

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

View File

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