[AD] vsync() blocks long time.

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


using WIP 4.1.0  static (release) lib,  MSVC v6.0
on win2k sp2
windows desktop res = 8 bit.


the code.. (minus the boring bits!)

set_color_depth( 16 );
set_gfx_mode( GFX_GDI,  blah blah blah );
textout( SCREEN, font, "Hello World", 10, 10, makecol(0xff,0xff,0xff));
vsync();
rect( blah blah );


basically  it displays the "Hello world"  just fine.
but when it gets to vsync()  it blocks forever.
thing to note here is that the set_color_depth is 16, and the windows desktop is 8 bit. coz when i have the windows desktop at 16bit with the above code... the vsync() works just fine.

is it a bug ?

i am able to click on the Windows Close Button and my close_button_proc() is called during this apparent lock-up. i have tried it with both debug and release builds of WIP 4.1.0.. and i get the same problem.


aj.



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/