Skip to main content
gamedev.net
🔒 Locked

Rectangles using DDraw->blt

Started by BeanDog 1 reply 500+ views
Original Post
BeanDog
BeanDog
Whats wrong with this code? It produces no output! LPDDBLTFX bltfx; bltfx->dwSize = sizeof(DDBLTFX); bltfx->dwFillColor=RGB(255,0,0); RECT rect; rect.left = 10; rect.top = 10; rect.right = 200; rect.bottom = 25; Back->Blt(▭, NULL, NULL, DDBLT_COLORFILL, bltfx); Any ideas? ~BenDilts( void );
shmaLbus
shmaLbus
use: DDBLTFX bltfx;
and: Back->Blt(▭, NULL, NULL, DDBLT_COLORFILL, &bltfx);
-werdup-
BeanDog
BeanDog
THANKS!

that worked.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.