mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-06 09:55:40 +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:
@@ -91,7 +91,7 @@ func (w *Window) Release() {
|
||||
func (w *Window) Frame(frame *op.Ops) {
|
||||
contextDo(w.ctx, func() error {
|
||||
w.gpu.Collect(w.size, frame)
|
||||
w.gpu.Frame(w.size)
|
||||
w.gpu.BeginFrame()
|
||||
w.gpu.EndFrame()
|
||||
return nil
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user