mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-24 18:58:54 +01:00
parent
27d2e8b60e
commit
91275e8fc2
@ -267,6 +267,7 @@ func (c *context) drawGame(graphicsDriver graphicsdriver.Graphics) {
|
|||||||
|
|
||||||
srcs := [graphics.ShaderImageCount]*Image{c.offscreen}
|
srcs := [graphics.ShaderImageCount]*Image{c.offscreen}
|
||||||
|
|
||||||
|
// TODO: Calculate the scale in the shader after pixels become the main unit in shaders (#1431)
|
||||||
dstWidth, dstHeight := c.screen.width, c.screen.height
|
dstWidth, dstHeight := c.screen.width, c.screen.height
|
||||||
srcWidth, srcHeight := c.offscreen.width, c.offscreen.height
|
srcWidth, srcHeight := c.offscreen.width, c.offscreen.height
|
||||||
var uniforms [][]float32
|
var uniforms [][]float32
|
||||||
|
Loading…
Reference in New Issue
Block a user