mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-10-24 08:23:29 +08:00
Add ui_js.go and input_js.go
This commit is contained in:
@@ -43,6 +43,7 @@ func NewContext(gl *webgl.Context) *Context {
|
||||
DynamicDraw: BufferUsageType(gl.DYNAMIC_DRAW),
|
||||
StaticDraw: BufferUsageType(gl.STATIC_DRAW),
|
||||
}
|
||||
c.gl = gl
|
||||
c.init()
|
||||
return c
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user