aboutsummaryrefslogtreecommitdiffstats
path: root/src/native/d3d/D3dCtx.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/native/d3d/D3dCtx.cpp')
-rw-r--r--src/native/d3d/D3dCtx.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/native/d3d/D3dCtx.cpp b/src/native/d3d/D3dCtx.cpp
index 32776c4..8ad3b2f 100644
--- a/src/native/d3d/D3dCtx.cpp
+++ b/src/native/d3d/D3dCtx.cpp
@@ -65,6 +65,7 @@ D3dCtx::D3dCtx(JNIEnv* env, jobject obj, HWND _hwnd, BOOL _offScreen,
zWriteEnable = TRUE;
zEnable = TRUE;
+ // TODO: THIS NEEDS TO BE REDONE WITH INFO FROM THE FBCONFIG PTR
// this is the pixelFormat return from NativeConfigTemplate.
minZDepth = vid & 0x3fffffff;
if (vid & 0x80000000)
@@ -269,6 +270,7 @@ VOID D3dCtx::releaseTexture()
cubeMapTableLen = 0;
unlockSurfaceList();
+ /*
lockImage();
D3dImageComponent::remove(&RasterList, this);
unlockImage();
@@ -276,6 +278,7 @@ VOID D3dCtx::releaseTexture()
lockBackground();
D3dImageComponent::remove(&BackgroundImageList, this);
unlockBackground();
+ */
// free list0
freeList();
@@ -346,8 +349,10 @@ VOID D3dCtx::releaseVB()
VOID D3dCtx::release()
{
+ /*
D3dImageComponent::removeAll(&BackgroundImageList);
D3dImageComponent::removeAll(&RasterList);
+ */
releaseTexture();
SafeFree(bindTextureId);
bindTextureIdLen = 0;