mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-01-13 12:32:05 +01:00
Compare commits
4 Commits
1425c834bc
...
23769b478f
Author | SHA1 | Date | |
---|---|---|---|
|
23769b478f | ||
|
9449e0a8a6 | ||
|
d5c6fd174f | ||
|
47f11a7423 |
@ -142,7 +142,7 @@ var (
|
|||||||
//
|
//
|
||||||
// You can use DefaultDrawFinalScreen when you need the default implementation of [FinalScreenDrawer.DrawFinalScreen]
|
// You can use DefaultDrawFinalScreen when you need the default implementation of [FinalScreenDrawer.DrawFinalScreen]
|
||||||
// in your implementation of [FinalScreenDrawer], for example.
|
// 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() {
|
theScreenShaderOnce.Do(func() {
|
||||||
s, err := newShader(builtinshader.ScreenShaderSource, "screen")
|
s, err := newShader(builtinshader.ScreenShaderSource, "screen")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user