mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-25 03:08:54 +01:00
go fmt
This commit is contained in:
parent
86eb30c650
commit
f8c0f0faaa
@ -74,4 +74,3 @@ type RenderTarget interface {
|
||||
}
|
||||
|
||||
type RenderTargetID int
|
||||
|
||||
|
@ -307,8 +307,7 @@ func createFramebuffer(textureID C.GLuint) C.GLuint {
|
||||
return framebuffer
|
||||
}
|
||||
|
||||
func (context *Context) NewRenderTarget(width, height int) (
|
||||
graphics.RenderTarget) {
|
||||
func (context *Context) NewRenderTarget(width, height int) graphics.RenderTarget {
|
||||
renderTarget := newRenderTarget(width, height)
|
||||
context.textures[renderTarget.id] = (*Texture)(renderTarget)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user