mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-05 01:15:35 +00:00
gpu: rename method GPU.Frame to BeginFrame and drop redundant argument
The viewport size was already specified in the call to Collect. Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
+1
-1
@@ -83,7 +83,7 @@ func (l *renderLoop) renderLoop(glctx window.Context) error {
|
||||
g.Collect(frame.viewport, frame.ops)
|
||||
// Signal that we're done with the frame ops.
|
||||
l.ack <- struct{}{}
|
||||
g.Frame(frame.viewport)
|
||||
g.BeginFrame()
|
||||
var res frameResult
|
||||
res.err = glctx.Present()
|
||||
g.EndFrame()
|
||||
|
||||
Reference in New Issue
Block a user