;get direct access to video memory
@LockSurface:
DDSURFACE Lock,lpDDSPrimary,NULL,offset ddsd,DDLOCKWAIT or DDLOCKWRITEONLY,NULL
test eax,eax ;cmp eax,DDOK
jz @DymankoSieZaczyna ;)
@LockSurface:
DDSURFACE Lock,lpDDSPrimary,NULL,offset ddsd,DDLOCKWAIT or DDLOCKWRITEONLY,NULL
test eax,eax ;cmp eax,DDOK
jz @DymankoSieZaczyna ;)