PSPGL broken glDeleteTextures patch

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
danzel
Posts: 182
Joined: Fri Nov 04, 2005 11:03 pm

PSPGL broken glDeleteTextures patch

Post by danzel »

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

Code: Select all

--- 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);
                        }
                }
        }
jimparis
Posts: 1145
Joined: Fri Jun 10, 2005 4:21 am
Location: Boston

Post by jimparis »

Committed in revision 1995, thanks
Post Reply