-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:
wagic.the.homebrew@gmail.com
2009-10-03 08:50:44 +00:00
parent a8607ebf64
commit 888edfd5b8
9 changed files with 38 additions and 266 deletions

View File

@@ -414,7 +414,6 @@ JTexture * WResourceManager::RetrieveTexture(string filename, int style, int sub
if(res){ //a non-null result will always be good.
JTexture * t = res->Actual();
JRenderer::GetInstance()->BindTexture(t);
return t;
}
#ifdef DEBUG_CACHE
@@ -864,7 +863,6 @@ void WResourceManager::Refresh(){
newNames[oldtex] = mapping->first;
else{
newNames[newtex] = mapping->first;
JRenderer::GetInstance()->BindTexture(newtex);
}
oldTextures[oldtex] = newtex;