OpenGL error messages are now reported properly

This commit is contained in:
Cacodemon345
2025-03-10 13:27:29 +06:00
parent 1626ee8760
commit dceb13f859
5 changed files with 33 additions and 9 deletions

View File

@@ -90,6 +90,8 @@ extern "C" {
#include <86box/timer.h>
#include <86box/nvr.h>
extern int qt_nvr_save(void);
bool cpu_thread_running = false;
}
void qt_set_sequence_auto_mnemonic(bool b);
@@ -444,6 +446,7 @@ main_thread_fn()
}
}
cpu_thread_running = false;
is_quit = 1;
for (uint8_t i = 1; i < GFXCARD_MAX; i ++) {
if (gfxcard[i]) {
@@ -736,6 +739,7 @@ main(int argc, char *argv[])
#endif
plat_pause(0);
cpu_thread_running = true;
main_thread = new std::thread(main_thread_fn);
});