mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-25 19:28:57 +01:00
opengl: Move ZeroFramebuffer to context.go
This commit is contained in:
parent
ca3322edbc
commit
388dd835a6
@ -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
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
@ -31,8 +31,6 @@ type Framebuffer struct {
|
|||||||
*js.Object
|
*js.Object
|
||||||
}
|
}
|
||||||
|
|
||||||
var ZeroFramebuffer Framebuffer
|
|
||||||
|
|
||||||
type Shader struct {
|
type Shader struct {
|
||||||
*js.Object
|
*js.Object
|
||||||
}
|
}
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user