flat assembler
Message board for the users of flat assembler.
Index
> Windows > Blitting ddraw surface to window |
Author |
|
revolution 06 Nov 2011, 11:01
Code: invoke BeginPaint,[hwindow],esi ;... invoke EndPaint,[hwindow],edi |
|||
06 Nov 2011, 11:01 |
|
mindcooler 06 Nov 2011, 11:04
revolution wrote: Where do you define EDI? Nice catch! Never thought that it was the ps dc that I was wasting. Always nice with a fresh set of eyes! It seems to be working perfectly now, thanks. _________________ This is a block of text that can be added to posts you make. |
|||
06 Nov 2011, 11:04 |
|
typedef 06 Nov 2011, 17:28
Have you rad the documentation clearly ?
It's Code: HDC hDc = BeginPaint(hWin, &ps); BitBlt(hDc, NOT Code: HDC hDc = BeginPaint(hWin, &ps); BitBlt(ps.hdc, The second one will give you trouble |
|||
06 Nov 2011, 17:28 |
|
mindcooler 06 Nov 2011, 21:15
typedef wrote: The second one will give you trouble I don't see why as they are the same thing. _________________ This is a block of text that can be added to posts you make. |
|||
06 Nov 2011, 21:15 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.