From 1b3696a7ffbb54586f86511b543c05be03cbca7b Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Mon, 31 Oct 2022 12:59:27 +0900 Subject: [PATCH] internal/graphicsdriver/opengl: fix comments --- internal/graphicsdriver/opengl/graphics.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/graphicsdriver/opengl/graphics.go b/internal/graphicsdriver/opengl/graphics.go index 04df1d343..74c37350d 100644 --- a/internal/graphicsdriver/opengl/graphics.go +++ b/internal/graphicsdriver/opengl/graphics.go @@ -216,7 +216,7 @@ func (g *Graphics) DrawTriangles(dstID graphicsdriver.ImageID, srcIDs [graphics. g.uniformVars[i].typ = shader.ir.Uniforms[i] } - // In OpenGL, the NDC's Y direction (upward), so flip the Y direction for the final framebuffer. + // In OpenGL, the NDC's Y direction is upward, so flip the Y direction for the final framebuffer. if destination.screen { const idx = graphics.ProjectionMatrixUniformVariableIndex g.uniformVars[idx].value[1] *= -1