I have my video game display coded so that "ALLEGRO_FULLSCREEN_WINDOW" mode will do the largest integer scale possible, then use "al_set_clipping_rectangle" to preserve the aspect ratio.
I expect the "borders" of the clipping rectangle to be black, but instead, they flicker with what looks like screen artifacts. (See attachments)
Here is an excerpt from my display code:
3/* Initialize the one and only global display for the game */
display = al_create_display(
scale, height *
8/* Scale and center the display as big as possible on this screen */
scale, offset_x, offset_y, fullscreen);
11/* Crop the drawing area, to not accidentally draw in the black borders */
offset_x, offset_y, display_width *
scale, display_height *
Full code here:
Is there something I can do to prevent the seizure-inducing flickering around the display area?
Arch Linux (current)
Radeon HD 5450, with open source "radeon" driver