I want to do hardware stretching of an image in DirectDraw fullscreen. I was wondering how I would do it? It doesnt matter if I have to draw the image to a dedicated DirectDraw surface object. I do not mind chaning my code to do so.

Also how do you set up DirectDraw for windowed mode operation?
Posted on 2004-07-22 12:41:45 by x86asm
setting up directdraw for windowed mode is a hell of a job. there is an article about it on gamedev.net, if i remeber correctly
Posted on 2004-07-22 14:13:24 by Mbee
hi x86asm,

i have coded a chip8 emulator in win32asm using directx, you can find the source code here:
http://www.zophar.net/Files/CrazyChip8_MASM_src.zip

in window mode, the streching is done via DX, just make sure yo handle the WM_SIZE properly.
Posted on 2004-07-22 15:37:20 by wizzra
Originally posted by xlifewirex
setting up directdraw for windowed mode is a hell of a job. there is an article about it on gamedev.net, if i remeber correctly



Hell of a job is to strong of a word. You just nead a clipper and you can't just flip the surfaces like in the exclusiv mode.
Posted on 2004-07-23 17:10:03 by AceEmbler




Hell of a job is to strong of a word. You just nead a clipper and you can't just flip the surfaces like in the exclusiv mode.


Cannot use BltFast. You must use BitBlt.
Posted on 2004-07-23 17:13:03 by ThoughtCriminal