mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-14 15:07:26 +01:00
ebiten: bug fix: DefaultDrawFinalScreen should take FinalScreen
Updates #3139
This commit is contained in:
parent
f6cd2beacf
commit
47f11a7423
@ -142,7 +142,7 @@ var (
|
||||
//
|
||||
// You can use DefaultDrawFinalScreen when you need the default implementation of [FinalScreenDrawer.DrawFinalScreen]
|
||||
// in your implementation of [FinalScreenDrawer], for example.
|
||||
func DefaultDrawFinalScreen(screen *Image, offscreen *Image, geoM GeoM) {
|
||||
func DefaultDrawFinalScreen(screen FinalScreen, offscreen *Image, geoM GeoM) {
|
||||
theScreenShaderOnce.Do(func() {
|
||||
s, err := newShader(builtinshader.ScreenShaderSource, "screen")
|
||||
if err != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user