forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

PSPGL broken glDeleteTextures patch

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
danzel



Joined: 04 Nov 2005
Posts: 182

PostPosted: Thu Aug 31, 2006 7:03 am    Post subject: PSPGL broken glDeleteTextures patch Reply with quote

Thanks to siberianstar over in http://forums.ps2dev.org/viewtopic.php?t=6569
This is just a patch for his change :)

Code:
--- pspgl/glDeleteTextures.c    2006-06-05 17:53:11.000000000 +1200
+++ pspglfix/glDeleteTextures.c 2006-08-31 09:08:03.000000000 +1200
@@ -16,7 +16,7 @@
                        if (tobj) {
                                if (tobj == pspgl_curctx->texture.bound)
                                        glBindTexture(tobj->target, 0);
-                               free(tobj);
+                               __pspgl_texobj_free(tobj);
                        }
                }
        }
Back to top
View user's profile Send private message
jimparis



Joined: 10 Jun 2005
Posts: 1179
Location: Boston

PostPosted: Thu Aug 31, 2006 9:19 am    Post subject: Reply with quote

Committed in revision 1995, thanks
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group