-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

@@ -218,7 +218,6 @@ void OptionProfile::updateValue(){
}
void OptionProfile::populate(){
JRenderer * renderer = JRenderer::GetInstance();
string temp = options[Options::ACTIVE_PROFILE].str;
if (value >= selections.size()){ //TODO fail gracefully.
return;
@@ -231,7 +230,6 @@ void OptionProfile::populate(){
mAvatarTex = JRenderer::GetInstance()->LoadTexture(options.profileFile("avatar.jpg","",true,true).c_str(), false);
if (mAvatarTex){
mAvatar = NEW JQuad(mAvatarTex, 0, 0, 35, 50);
renderer->BindTexture(mAvatarTex);
}
PlayerData * pdata = NEW PlayerData(app->collection);