mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-24 18:58:54 +01:00
opengl: Move ZeroFramebuffer to context.go
This commit is contained in:
parent
ca3322edbc
commit
388dd835a6
@ -14,6 +14,8 @@
|
||||
|
||||
package opengl
|
||||
|
||||
var ZeroFramebuffer Framebuffer
|
||||
|
||||
type Context struct {
|
||||
Nearest Filter
|
||||
Linear Filter
|
||||
|
@ -31,8 +31,6 @@ type Shader uint32
|
||||
type Program uint32
|
||||
type Buffer uint32
|
||||
|
||||
var ZeroFramebuffer Framebuffer
|
||||
|
||||
type uniformLocation int32
|
||||
type attribLocation int32
|
||||
|
||||
|
@ -31,8 +31,6 @@ type Framebuffer struct {
|
||||
*js.Object
|
||||
}
|
||||
|
||||
var ZeroFramebuffer Framebuffer
|
||||
|
||||
type Shader struct {
|
||||
*js.Object
|
||||
}
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user