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