internal/graphicsdriver/opengl: fix a wrong comment

Updates #2517
This commit is contained in:
Hajime Hoshi 2023-12-18 01:44:25 +09:00
parent c80a82c501
commit 425b4dd99a

View File

@ -73,7 +73,7 @@ func (g *Graphics) End(present bool) error {
// TODO: examples/sprites worked without this. Is this really needed? // TODO: examples/sprites worked without this. Is this really needed?
g.context.ctx.Flush() 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 { if present {
g.state.resetLastUniforms() g.state.resetLastUniforms()
} }