This topic is now archived and is closed to further replies.

Locking problem

This topic is 5114 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi, when i'm locking the backbuffer under direct3d 9 an error occurs... i use the following code:
	if (FAILED(m_lpBackBuffer->LockRect(&rectLock, NULL, D3DLOCK_NO_DIRTY_UPDATE)))
		// this happens!
		return FALSE;

the first thought was that i didn't receive the backbuffer correctly, but some line before the method GetDesc works correctly... what is my mistake?


[edited by - Fireface on December 15, 2003 9:40:56 AM]   

Share this post

Link to post
Share on other sites