Starting SetGfxModeTest in Mode # 1 Change Res Mode 1 : No GFX_TEXT , No allegro_message , Set gfx mode Allegro info : Allegro 4.2.2, MinGW32 Allegro version : 4.2.2 Number of mouse buttons = 8 Setting programs initial graphics mode and resolution : Desktop Resolution is : 1024 X 768 Setting Initial Graphics Mode of 1024 X 768 in 32 bit color depth using graphics driver # 1 Starting change_res(1,1024,768,32, use_log = 1,mode = 1) This is change_res call # 1 Changing to resolution 1024 X 768 in 32 bit color depth using graphics card #1 Success changing to new resolution Display Switch Mode can not set : SWITCH_BACKGROUND mode Display Switch Mode set to : SWITCH_BACKAMNESIA mode Set Display Switch Callback returned 0 (Success) in setting the program call in. Set Display Switch Callback returned 0 (Success) in setting the program call out. - Success changing resolution to 1024 X 768 in 32 bit color depth in graphics mode : GFX_AUTODETECT_FULLSCREEN Starting change_res(1146638166,1024,768,32, use_log = 1,mode = 1) This is change_res call # 2 Changing to resolution 1024 X 768 in 32 bit color depth using graphics card #1146638166 Failed to set 1024 X 768 X 32 using graphics mode # 1146638166 Allegro reports this error : Resolution not supported Error # 3 in change res. set_gfx_mode failed Starting change_res(1,1024,768,32, use_log = 1,mode = 1) This is change_res call # 3 Changing to resolution 1024 X 768 in 32 bit color depth using graphics card #1 Success changing to new resolution Display Switch Mode can not set : SWITCH_BACKGROUND mode Display Switch Mode set to : SWITCH_BACKAMNESIA mode Set Display Switch Callback returned 0 (Success) in setting the program call in. Set Display Switch Callback returned 0 (Success) in setting the program call out. Restored last good graphics mode after failing to change graphics mode Starting change_res(1146634563,480,360,32, use_log = 1,mode = 1) This is change_res call # 4 Changing to resolution 480 X 360 in 32 bit color depth using graphics card #1146634563 Success changing to new resolution Display Switch Mode can not set : SWITCH_BACKGROUND mode Display Switch Mode set to : SWITCH_BACKAMNESIA mode Set Display Switch Callback returned 0 (Success) in setting the program call in. Set Display Switch Callback returned 0 (Success) in setting the program call out. Starting change_res(1146640206,480,360,32, use_log = 1,mode = 1) This is change_res call # 5 Changing to resolution 480 X 360 in 32 bit color depth using graphics card #1146640206 Success changing to new resolution Display Switch Mode set to : SWITCH_PAUSE mode ### User comment # 1 This corresponds with change_res call # 5 User said setting this resolution was a (Failure) Here's why : In Mode 1 or Mode 2 when the user attempts to change to an unsupported resolution , the screen flashes pink (255,0,255) on all subsequent calls to set_gfx_mode. If then changing from a fullscreen mode that is not the size of the original desktop to a windowed mode smaller than the original desktop , then there is a window opened that is the size of the original desktop but is only being drawn to in the upper left at the size of the window that was actually requested. The remainder of the window is drawn pink and does not smear when moved from offscreen back on and does not change when the window is minimized and then restored. ### End user comment ###