Skip to content

Commit

Permalink
commit jacalz's suggestion
Browse files Browse the repository at this point in the history
Co-authored-by: Jacob Alzén <[email protected]>
  • Loading branch information
dweymouth and Jacalz authored Nov 8, 2023
1 parent 60474a4 commit 36b38b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/driver/glfw/loop.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ func runOnDraw(w *window, f func()) {
// window canvases that are dirty on a single frame.
// So its memory impact should be negligible and does not
// need periodic shrinking.
var refreshingCanvases = make([]fyne.Canvas, 0)
var refreshingCanvases []fyne.Canvas

func (d *gLDriver) drawSingleFrame() {
for _, win := range d.windowList() {
Expand Down

0 comments on commit 36b38b6

Please sign in to comment.