Minimizing the window spams GL errors #35

Closed
opened 2023-08-09 20:24:11 +00:00 by ilidemi · 2 comments
Collaborator

When I run the UI sample and minimize the window, console shows

Error: mg_gl_render_batch() in C:\Users\ilia\Projects\orca\milepost\src\gl_canvas.c:1117: gl error 1281
Error: mg_gl_render_batch() in C:\Users\ilia\Projects\orca\milepost\src\gl_canvas.c:1117: gl error 1282
Error: mg_gl_render_batch() in C:\Users\ilia\Projects\orca\milepost\src\gl_canvas.c:1117: gl error 1282
Error: mg_gl_render_batch() in C:\Users\ilia\Projects\orca\milepost\src\gl_canvas.c:1117: gl error 1282
...

at about a line per frame.

When I run the UI sample and minimize the window, console shows ``` Error: mg_gl_render_batch() in C:\Users\ilia\Projects\orca\milepost\src\gl_canvas.c:1117: gl error 1281 Error: mg_gl_render_batch() in C:\Users\ilia\Projects\orca\milepost\src\gl_canvas.c:1117: gl error 1282 Error: mg_gl_render_batch() in C:\Users\ilia\Projects\orca\milepost\src\gl_canvas.c:1117: gl error 1282 Error: mg_gl_render_batch() in C:\Users\ilia\Projects\orca\milepost\src\gl_canvas.c:1117: gl error 1282 ... ``` at about a line per frame.
bvisness added this to the Jam MVP milestone 2023-08-10 00:13:57 +00:00
MartinFouilleul self-assigned this 2023-08-19 13:17:12 +00:00
MartinFouilleul was unassigned by rdunnington 2023-08-21 18:18:36 +00:00
rdunnington self-assigned this 2023-08-21 18:18:36 +00:00
Collaborator

I have a fix in the branch https://git.handmade.network/hmn/orca/src/branch/fix_minmized_window_logspam but am waiting to make a PR until #50 is merged to avoid any confusion about the set of changes.

I have a fix in the branch https://git.handmade.network/hmn/orca/src/branch/fix_minmized_window_logspam but am waiting to make a PR until https://git.handmade.network/hmn/orca/pulls/50 is merged to avoid any confusion about the set of changes.
Collaborator

Thanks! Closed by c27e1c6b62

Thanks! Closed by c27e1c6b62
Sign in to join this conversation.
No Label
macOS
windows
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: hmn/orca#35
No description provided.