2002-12-01 07:56:17 +00:00
|
|
|
/*This code comes from testgl.c which is part of the SDL source distribution.
|
|
|
|
Available at http://libsdl.org/
|
|
|
|
*/
|
|
|
|
#ifndef __sdlgl_h__
|
|
|
|
#define __sdlgl_h__
|
|
|
|
|
|
|
|
#include "ZE_Includes.h"
|
|
|
|
|
2003-08-02 01:18:45 +00:00
|
|
|
#if (GFX_BACKEND == ZE_OGL)
|
2002-12-01 07:56:17 +00:00
|
|
|
int power_of_two(int input);
|
|
|
|
GLuint SDL_GL_LoadTexture(SDL_Surface *surface, GLfloat *texcoord);
|
2003-08-01 21:57:32 +00:00
|
|
|
#endif
|
2002-12-01 07:56:17 +00:00
|
|
|
|
|
|
|
#endif //__sdlgl_h__
|