Fix a OpenGL backend DeleteTexture crash (Fixes #499)
Compare changes
+ 4
− 0
@@ -1301,8 +1301,12 @@ EXPORT void HWRAPI(DeleteTexture) (GLMipmap_t *pTexInfo)
Fix a crash in DeleteTexture by handling cases where the head or tail (or both) of the linked list is being deleted.