Advertisement

Locking surfaces after restoring them

Started by September 13, 1999 10:32 PM
-1 comments, last by CGameProgrammer 25 years, 4 months ago
After the surface memory is lost, and restored (with lpDDS->Restore() and the ddutil.cpp function DDReLoadBitmap), locking the surface no longer works. It gives me a DDERR_SURFACELOST error. But it's wrong, because Blt, BltFast, and GetDC work perfectly fine.

Any ideas why this is happening?

------------------
~CGameProgrammer( );

~CGameProgrammer( ); Developer Image Exchange -- New Features: Upload screenshots of your games (size is unlimited) and upload the game itself (up to 10MB). Free. No registration needed.

This topic is closed to new replies.

Advertisement