Fix bound check on number of framebuffers allocated
Fix repurposing framebuffers to clear out previous attachments to prevent
dimension erros.
src/drivers/gl_fbo.c
Fix repurposing framebuffers to clear out previous attachments to prevent
dimension erros.
src/drivers/gl_fbo.c
Save the main window in a global rather than using [NSApp mainWindow]. This has
the advantage of working properly when the window isn't actually main at the time
src/cocoaui/cocoa_win.c
src/cocoaui/cocoaui.c
src/cocoaui/cocoaui.h
the advantage of working properly when the window isn't actually main at the time
src/cocoaui/cocoa_win.c
src/cocoaui/cocoaui.c
src/cocoaui/cocoaui.h
.