00001 /*This code comes from testgl.c which is part of the SDL source distribution. 00002 Available at http://libsdl.org/ 00003 */ 00004 #ifndef __sdlgl_h__ 00005 #define __sdlgl_h__ 00006 00007 #include "ZE_Includes.h" 00008 00009 #if (GFX_BACKEND == ZE_OGL) 00010 int power_of_two(int input); 00011 GLuint SDL_GL_LoadTexture(SDL_Surface *surface, GLfloat *texcoord); 00012 #endif 00013 00014 #endif //__sdlgl_h__