*** empty log message ***

This commit is contained in:
2006-07-03 18:47:04 -04:00
parent 12ff23fe50
commit 8fb1a468ac
2 changed files with 4 additions and 4 deletions

View File

@@ -1,12 +1,12 @@
#include "mygl.h" #include "mygl.h"
namespace OpenArena namespace OpenArena
{ {
void FreeGLTexture(GLuint texture) void FreeGLTexture(GLuint& texture)
{ {
glDeleteTextures(1, &texture); glDeleteTextures(1, &texture);
} }
bool LoadGLTexture(string fn, GLuint texture, GLuint mag, GLuint min) bool LoadGLTexture(string fn, GLuint& texture, GLuint mag, GLuint min)
{ {
if(Right(tolower(fn), 4) == ".bmp") if(Right(tolower(fn), 4) == ".bmp")
{ {

View File

@@ -34,7 +34,7 @@ extern OpenArena::Window g_Screen;
//int InitGL(GLvoid); //int InitGL(GLvoid);
namespace OpenArena namespace OpenArena
{ {
bool LoadGLTexture(string , GLuint, GLuint = GL_LINEAR, GLuint = GL_LINEAR); bool LoadGLTexture(string , GLuint&, GLuint = GL_LINEAR, GLuint = GL_LINEAR);
void FreeGLTexture(GLuint); void FreeGLTexture(GLuint&);
}; };
#endif #endif