aboutsummaryrefslogtreecommitdiffstats
path: root/src/native/d3d/D3dCtx.cpp
diff options
context:
space:
mode:
authorKevin Rushforth <[email protected]>2006-09-29 18:04:13 +0000
committerKevin Rushforth <[email protected]>2006-09-29 18:04:13 +0000
commit908d0fbb2ea26226165cd42f12abf0d27e4a3f53 (patch)
tree0258d2293efab8f4eafba39a528a3d2eedd0c3cb /src/native/d3d/D3dCtx.cpp
parent0661a22dd9278b20856b13b08ff22d248119cf6b (diff)
Merged dev-1_5 branch back to MAIN trunk
git-svn-id: https://svn.java.net/svn/j3d-core~svn/trunk@701 ba19aa83-45c5-6ac9-afd3-db810772062c
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;