Changed Moved resources around

~G2k
This commit is contained in:
2006-07-01 20:38:56 -04:00
parent 7faadb55bd
commit fc736f6b93
56 changed files with 481 additions and 1339 deletions

View File

@@ -1,12 +1,13 @@
#include "../include/mygl.h"
#include "mygl.h"
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")
{
@@ -63,4 +64,4 @@ namespace OpenArena
}
};
OpenArena::Window g_Screen;
OpenArena::Window* g_Screen = NULL;