Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- WORD Depth16 = *(WORD*) LockedRect.pBits;
- V(S(pZBuffer->UnlockRect()));
- pZBuffer->Release();
- pZBuffer = NULL;
- T DepthVal = Depth16 * 1.0f / ((1<<16)-1);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement