internal/ui: add comments

Updates #1431
This commit is contained in:
Hajime Hoshi 2022-10-12 02:46:06 +09:00
parent 27d2e8b60e
commit 91275e8fc2

View File

@ -267,6 +267,7 @@ func (c *context) drawGame(graphicsDriver graphicsdriver.Graphics) {
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
srcWidth, srcHeight := c.offscreen.width, c.offscreen.height
var uniforms [][]float32