The screen fails to refresh when running an Allegro application on the Haiku operating system.
The application starts, the application window appears, and the screen is drawn once and then appears to be frozen. The application does not actually freeze, but instead simply isn't being drawn to the screen. If I click on the application title bar and drag the window around the screen, then the screen will begin to refresh correctly. When I release the title bar, the application appears to once again freeze.
Even though the screen is not being refreshed, all other logic runs correctly, including keyboard input. I can confirm this because I can see it working when I move the window around the screen with the mouse.
I see this behavior with every Allegro application that I run in Haiku, which includes two of the video games I wrote and several of the Allegro demos.
Please let me know if I can provide any more information. Thank you.
Operating system: Haiku nightly build 40211 (2011-01-12)
Video card: Radeon X850
Peter Wang
2011-01-17
You'll probably have better luck reporting this on a Haiku forum/mailing list. No Allegro developers use Haiku, as far as I know. We just merged the changes that we got.
David Couzelis
2011-01-17
Thank you for your response. I'll work with the Haiku developers and report back on this bug at a later date.
David Couzelis
2011-01-18
This bug is invalid.
The screen will refresh correctly if I use "acquire_screen()" before drawing to the screen and "release_screen()" afterwards.
Thank you for making such a great cross-platform library!
Thomas Fjellstrom
2011-01-18
using acquire/release_screen should not be necessary. If it is, its a problem with the Haiku port.