Can anyone tell me what's going on here? The code below gives me this error:
error C2660: 'SetDisplayMode' : function does not take 5 parameters
I know that in DirectDraw4, SetDisplayMode takes 5 params: width,height,bpp,refreshrate,and flags
LPDIRECTDRAW lpdd = NULL;
LPDIRECTDRAW lpdd4 = NULL;
hwnd = (HWND)(CBGetHwnd());
I'd really appreciate any help. Thanks!