*** 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"
namespace OpenArena
{
void FreeGLTexture(GLuint texture)
void FreeGLTexture(GLuint& 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")
{

View File

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