mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-02 16:06:19 +00:00
gpu/gl: remove redundant glClear from sRGB emulation
Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
@@ -75,8 +75,6 @@ func (s *SRGBFBO) Blit() {
|
||||
s.blitted = true
|
||||
}
|
||||
s.c.BindFramebuffer(FRAMEBUFFER, Framebuffer{})
|
||||
s.c.ClearColor(1, 0, 1, 1)
|
||||
s.c.Clear(COLOR_BUFFER_BIT)
|
||||
s.c.UseProgram(s.prog)
|
||||
s.c.BindTexture(TEXTURE_2D, s.colorTex)
|
||||
s.c.BindBuffer(ARRAY_BUFFER, s.quad)
|
||||
|
||||
Reference in New Issue
Block a user