ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/Deliantra-Client/Client.xs
(Generate patch)

Comparing deliantra/Deliantra-Client/Client.xs (file contents):
Revision 1.189 by root, Sat Apr 21 23:54:23 2007 UTC vs.
Revision 1.190 by root, Thu Apr 26 17:41:23 2007 UTC

2392void glDeleteTexture (int name) 2392void glDeleteTexture (int name)
2393 CODE: 2393 CODE:
2394{ 2394{
2395 /* make a half-assed attempt at returning the memory used by the texture */ 2395 /* make a half-assed attempt at returning the memory used by the texture */
2396 /* textures are frequently being reused by cfplus anyway */ 2396 /* textures are frequently being reused by cfplus anyway */
2397 glBindTexture (GL_TEXTURE_2D, name); 2397 /*glBindTexture (GL_TEXTURE_2D, name);*/
2398 glTexImage2D (GL_TEXTURE_2D, 0, GL_ALPHA, 0, 0, 0, GL_ALPHA, GL_UNSIGNED_BYTE, 0); 2398 /*glTexImage2D (GL_TEXTURE_2D, 0, GL_ALPHA, 0, 0, 0, GL_ALPHA, GL_UNSIGNED_BYTE, 0);*/
2399 av_push (texture_av, (SV *)(size_t)name); 2399 av_push (texture_av, (SV *)(size_t)name);
2400 /*glDeleteTextures (1, &name_);*/ 2400 /*{ GLuint name_ = name; glDeleteTextures (1, &name_); }*/
2401} 2401}
2402 2402
2403int glGenList () 2403int glGenList ()
2404 CODE: 2404 CODE:
2405 RETVAL = glGenLists (1); 2405 RETVAL = glGenLists (1);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines