mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-10-24 16:30:41 +08:00
Remove the first argument of FillFramebuffer
This commit is contained in:
@@ -165,7 +165,7 @@ func (c *Context) SetViewport(f Framebuffer, width, height int) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (c *Context) FillFramebuffer(f Framebuffer, r, g, b, a float64) error {
|
||||
func (c *Context) FillFramebuffer(r, g, b, a float64) error {
|
||||
// TODO: Use f?
|
||||
gl := c.gl
|
||||
gl.ClearColor(float32(r), float32(g), float32(b), float32(a))
|
||||
|
||||
Reference in New Issue
Block a user