Erwan
-more JGE cleanup -removed calls to BindTexture that were made out of the Render methods. Please let me know if this has side effects (and let's discuss it in that case) -Still no luck with the purple screen bug :(
This commit is contained in:
@@ -435,31 +435,6 @@ void JMD2Model::Render()
|
||||
if (mModel == NULL)
|
||||
return;
|
||||
|
||||
// int startFrame = mAnimations[mState]->mStartFrame;
|
||||
// int endFrame = mAnimations[mState]->mEndFrame;
|
||||
//
|
||||
// if ( (startFrame < 0) || (endFrame < 0) )
|
||||
// return;
|
||||
//
|
||||
// if ( (startFrame >= mModel->numFrames) || (endFrame >= mModel->numFrames) )
|
||||
// return;
|
||||
|
||||
// if (mModel->interpol >= 1.0)
|
||||
// {
|
||||
// mModel->interpol = 0.0f;
|
||||
// mModel->currentFrame++;
|
||||
// if (mModel->currentFrame >= endFrame)
|
||||
// mModel->currentFrame = startFrame;
|
||||
//
|
||||
// mModel->nextFrame = mModel->currentFrame + 1;
|
||||
//
|
||||
// if (mModel->nextFrame >= endFrame)
|
||||
// {
|
||||
// mModel->nextFrame = startFrame;
|
||||
// CheckNextState();
|
||||
// }
|
||||
// }
|
||||
|
||||
pointList = &mModel->pointList[mModel->numPoints*mModel->currentFrame];
|
||||
nextPointList = &mModel->pointList[mModel->numPoints*mModel->nextFrame];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user