Skip to main content
GameDev.net gamedev.net
🔒 Locked

DX--CreateSurface

Started by ECKILLER Apr 1, 2000 at 9:35 PM 2 replies 550+ views
Original Post
ECKILLER
ECKILLER
Hey, I''m getting an error when i call hr = g_pDD->CreateSurface(&ddsd, &g_pddsPrimary, NULL); Cannot convert parameter one from DDSURFACEDESC2 to DDSURFACEDESC. It came straight from DX 7.0 SDK. What do i need to do? ECKILLER
ECKILLER
shmaLbus
shmaLbus
are you sure you are using LPDIRECTDRAW7 and LPDIRECTDRAWSURFACE7 and not earlier versions?
-werdup-
ECKILLER
ECKILLER
Yes,
It came straight from DX 7.0 SDK.

ECKILLER
ECKILLER
ECKILLER
ECKILLER
I got it.

ECKILLER
ECKILLER

Topic Locked

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

Sign in to reply to this topic.