mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-26 03:38:55 +01:00
parent
c80a82c501
commit
425b4dd99a
@ -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()
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user