From 425b4dd99ae4518cf81550e9b111a7e5d49ad9d5 Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Mon, 18 Dec 2023 01:44:25 +0900 Subject: [PATCH] internal/graphicsdriver/opengl: fix a wrong comment Updates #2517 --- 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 609146f56..d18b9e9ba 100644 --- a/internal/graphicsdriver/opengl/graphics.go +++ b/internal/graphicsdriver/opengl/graphics.go @@ -73,7 +73,7 @@ func (g *Graphics) End(present bool) error { // TODO: examples/sprites worked without this. Is this really needed? g.context.ctx.Flush() - // The last uniforms must be reset after swapping the buffer (#2517). + // The last uniforms must be reset before swapping the buffer (#2517). if present { g.state.resetLastUniforms() }