Skip to main content
gamedev.net
🔒 Locked

Surface Location

Started by WytRaven Mar 20, 2000 at 9:15 PM 1 replies 550+ views
Original Post
WytRaven
WytRaven
Does anyone know of a way to find out if a particular direct draw surface is in video memory or system memory? I''ve looked in the DX7 SDK Help file but haven''t turned anything up wytraven@kik.net www.geocities.com/wytraven_2000 There is nothing real outside our perception of reality. Is there?
[email=wytraven@kik.net]wytraven@kik.net[/email]There is nothing real outside our perception of reality. Is there?
TV
TV
HRESULT IDirectDrawSurface4::GetCaps(LPDDSCAPS2 lpDDSCaps)

After your surface calls this, you can check the DDSCAP2 for your answer with:

IS_VIDMEM = (ddcaps2.dwCaps & DDSCAPS_VIDEOMEMORY);
WytRaven
WytRaven
Thankyou very much
[email=wytraven@kik.net]wytraven@kik.net[/email]There is nothing real outside our perception of reality. Is there?

Topic Locked

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

Sign in to reply to this topic.