|
Demo crashes randomly while while browsing on another monitor |
kingnoob
Member #18,984
January 2021
|
As long as I start the demo and do not open Chrome and start browsing it runs without crashing. Once Chrome is opened it crashes after random intervals. Once it crashed as soon as I clicked on Google search. Other times it crashes when Chrome is open and I'm not doing anything except watching the demo. So the reason that I switched from raylib to Allegro5 was because raylib minimizes the fullscreen mode anytime another monitor is clicked on. Allegro5 allows clicking on other monitors without minimizing the fullscreen borderless window. But then I can't use a browser. This is apparently an old problem that I can't find a solution for. al_set_new_display_flags(ALLEGRO_FULLSCREEN_WINDOW); disp = al_create_display(0, 0); Is how the display is created. Therefore it defaults to the native resolution of the desktop. Which is exactly what I want because all drawing is scaled accordingly. Please, is there a way to fix this? *************************************************************************************** SEEMS I FOUND THE PROBLEM |
Edgar Reynaldo
Major Reynaldo
May 2007
|
Okay, give us the standard details for a bug report. 1) Which OS If you can provide us this information, we can help you much more easily. btw, welcome kingnoob My Website! | EAGLE GUI Library Demos | My Deviant Art Gallery | Spiraloid Preview | A4 FontMaker | Skyline! (Missile Defense) Eagle and Allegro 5 binaries | Older Allegro 4 and 5 binaries | Allegro 5 compile guide |
kingnoob
Member #18,984
January 2021
|
Thank you for the welcome! MSVS 2019 Community. I changed the file from Demo.c to Demo.cpp and compiled it as a C++ program and now it seems to be working just fine. |
|