Re: Windows crashes when I use dynamic textures with D3DLOCK_DISCA
- From: Igor Kokarev <IgorKokarev@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Sun, 28 Aug 2005 12:47:04 -0700
I agree with, but it doesn't work in my case. I did exactly as you said.
-----------------
1) Initialize windowed 512x512 Direct3D 8.1 mode
2) I create 512x512 D3DUSAGE_DYNAMIC, D3DFMT_A8R8G8B8, D3DPOOL_DEFAULT
texture
3) LockRect with D3DLOCK_DISCARD, fill the texture, UnLockRect
(Then I click "Button1")
4) Call again LockRect with D3DLOCK_DISCARD and it crashes Windows.
------------------
More likely it's a bug of DirectX 8.1 headers. But we use 8.1 because WinXP
has built-in support of this version. All other moments of DirectX works just
fine.
Thanks for your response!
It's very interesting to hear how wonderful dynamic textures works. Exactly
what we need.
version)
.
- Follow-Ups:
- Re: Windows crashes when I use dynamic textures with D3DLOCK_DISCA
- From: Alexander Gräf
- Re: Windows crashes when I use dynamic textures with D3DLOCK_DISCA
- References:
- Windows crashes when I use dynamic textures with D3DLOCK_DISCARD f
- From: Igor Kokarev
- Re: Windows crashes when I use dynamic textures with D3DLOCK_DISCARD f
- From: Alexander Gräf
- Windows crashes when I use dynamic textures with D3DLOCK_DISCARD f
- Prev by Date: Re: Windows crashes when I use dynamic textures with D3DLOCK_DISCARD f
- Next by Date: Re: Windows crashes when I use dynamic textures with D3DLOCK_DISCA
- Previous by thread: Re: Windows crashes when I use dynamic textures with D3DLOCK_DISCARD f
- Next by thread: Re: Windows crashes when I use dynamic textures with D3DLOCK_DISCA
- Index(es):
Loading