mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-06 18:05:35 +00:00
gpu/internal/opengl,internal: move sRGB emulation to OpenGL driver
There is only one driver but several backends (EGL, WebGL). Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
+1
-1
@@ -280,7 +280,7 @@ func (g *compute) Frame() error {
|
||||
Y: (viewport.Y + tileHeightPx - 1) / tileHeightPx,
|
||||
}
|
||||
|
||||
defFBO := g.ctx.BeginFrame()
|
||||
defFBO := g.ctx.BeginFrame(viewport)
|
||||
defer g.ctx.EndFrame()
|
||||
|
||||
if g.drawOps.profile && g.timers.t == nil && g.ctx.Caps().Features.Has(driver.FeatureTimers) {
|
||||
|
||||
Reference in New Issue
Block a user