summaryrefslogtreecommitdiff
path: root/src/JSystem/J3DGraphBase/J3DPacket.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/JSystem/J3DGraphBase/J3DPacket.cpp')
-rw-r--r--src/JSystem/J3DGraphBase/J3DPacket.cpp24
1 files changed, 1 insertions, 23 deletions
diff --git a/src/JSystem/J3DGraphBase/J3DPacket.cpp b/src/JSystem/J3DGraphBase/J3DPacket.cpp
index ee5e48a5..9e2e5885 100644
--- a/src/JSystem/J3DGraphBase/J3DPacket.cpp
+++ b/src/JSystem/J3DGraphBase/J3DPacket.cpp
@@ -351,19 +351,8 @@ void J3DShapePacket::draw() {
if (!checkFlag(J3DShpFlag_Hidden) && mpShape != NULL) {
prepareDraw();
-#if 0
- if (mpTexMtxObj != NULL) {
- J3DMaterial* material = mpShape->getMaterial();
- J3DDifferedTexMtx::sTexGenBlock = material->getTexGenBlock();
- J3DDifferedTexMtx::sTexMtxObj = getTexMtxObj();
- } else {
- J3DDifferedTexMtx::sTexGenBlock = NULL;
- }
-#endif
-
- if (mpDisplayListObj != NULL) {
+ if (mpDisplayListObj != NULL)
mpDisplayListObj->callDL();
- }
mpShape->draw();
}
@@ -373,17 +362,6 @@ void J3DShapePacket::draw() {
void J3DShapePacket::drawFast() {
if (!checkFlag(J3DShpFlag_Hidden) && mpShape != NULL) {
prepareDraw();
-
-#if 0
- if (mpTexMtxObj != NULL) {
- J3DMaterial* material = mpShape->getMaterial();
- J3DDifferedTexMtx::sTexGenBlock = material->getTexGenBlock();
- J3DDifferedTexMtx::sTexMtxObj = getTexMtxObj();
- } else {
- J3DDifferedTexMtx::sTexGenBlock = NULL;
- }
-#endif
-
mpShape->drawFast();
}
}