Original Post
First off, here is the code:
CHAMBER and B_INTROA are defines to bitmaps. They load correctly, at least background does. I blit them to the backbuffer, and I flip. However, buttonback does show up anywhere on the screen? Am I just doing it wrong? Thanks
background = DDLoadBitmap(lpdd4, CHAMBER);
buttonback = DDLoadBitmap(lpdd4, B_INTROA);
RECT rect;
RECT rect2;
SetRect(▭, 0, 0, 800, 600);
SetRect(&rect2, 0, 0, 160, 80);
lpddsback->BltFast(0,0, background, ▭, DDBLTFAST_WAIT);
lpddsback->BltFast(100, 100, buttonback, &rect2, DDBLTFAST_SRCCOLORKEY | DDBLTFAST_WAIT);
lpddsprimary->Flip(NULL, DDFLIP_WAIT);
|