|
vsync
Oct 4, 2010 19:47:49 GMT 1
Post by floyesoft on Oct 4, 2010 19:47:49 GMT 1
how can i make a vsync (wait of vbl screen)
|
|
bereb
New Member
Posts: 8
|
vsync
Apr 22, 2011 19:04:34 GMT 1
Post by bereb on Apr 22, 2011 19:04:34 GMT 1
how can i make a vsync (wait of vbl screen) Maybe creating a "backbuffer" screen, then copying the content of this screen onto the visible screen at the appropriate time e.g.: OpenW Center # 1, 0, 0, Width, Height : ' the visible screen OpenW Hidden # 2, 0, 0, Width, Height : ' back hidden screen
' all graphic commands are fitting over the last defined screen (= hidden win_2)
' copying the content of win_2 onto win_1 (= visible screen) BitBlt Win_2.hDC2, 0, 0, Width, Height, Win_1.hDC, 0, 0, SRCCOPY It seems to work fine Sorry for my (broken) english
|
|