summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/nine/texture9.c
diff options
context:
space:
mode:
authorStanislaw Halik <[email protected]>2014-11-25 00:38:04 +0100
committerEmil Velikov <[email protected]>2014-11-26 20:09:11 +0000
commit7f74b9d47928979fdad445db1e0f249688c62991 (patch)
tree11f70b726110cce2c3d30744f3a82ea69dedbeed /src/gallium/state_trackers/nine/texture9.c
parent6aeae7442d1d5a8b1ff77b6f50f4ac7333cd22b0 (diff)
st/nine: call DBG() at more external entry points
Cc: "10.4" <[email protected]> Reviewed-by: Ilia Mirkin <[email protected]> Reviewed-by: David Heidelberg <[email protected]> Reviewed-by: Axel Davy <[email protected]> Signed-off-by: Stanislaw Halik <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/nine/texture9.c')
-rw-r--r--src/gallium/state_trackers/nine/texture9.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/nine/texture9.c b/src/gallium/state_trackers/nine/texture9.c
index 9537b25038d..8852142c8e7 100644
--- a/src/gallium/state_trackers/nine/texture9.c
+++ b/src/gallium/state_trackers/nine/texture9.c
@@ -226,6 +226,9 @@ NineTexture9_LockRect( struct NineTexture9 *This,
const RECT *pRect,
DWORD Flags )
{
+ DBG("This=%p Level=%u pLockedRect=%p pRect=%p Flags=%d\n",
+ This, Level, pLockedRect, pRect, Flags);
+
user_assert(Level <= This->base.base.info.last_level, D3DERR_INVALIDCALL);
user_assert(Level == 0 || !(This->base.base.usage & D3DUSAGE_AUTOGENMIPMAP),
D3DERR_INVALIDCALL);
@@ -238,6 +241,8 @@ HRESULT WINAPI
NineTexture9_UnlockRect( struct NineTexture9 *This,
UINT Level )
{
+ DBG("This=%p Level=%u\n", This, Level);
+
user_assert(Level <= This->base.base.info.last_level, D3DERR_INVALIDCALL);
return NineSurface9_UnlockRect(This->surfaces[Level]);