Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

convgltex.h

Go to the documentation of this file.
00001 /*
00002  * SDL surface conversion to OpenGL texture formats
00003  *
00004  * Mattias Engdegård
00005  *
00006  * Use, modification and distribution of this source is allowed without
00007  * limitation, warranty or liability of any kind.
00008  */
00009 
00010 
00011 #ifndef CONV_GL_TEX_H
00012 #define CONV_GL_TEX_H
00013 
00014 
00015 #include "Teddy/TeddyConfig.h"
00016 #include <SDL.h>
00017 #ifdef HAVE_LIB_SDL_IMAGE
00018  #include <SDL_image.h>
00019 #endif
00020 
00021 
00022 extern SDL_Surface *conv_surf_gl   ( SDL_Surface *s, int want_alpha );
00023 extern SDL_Surface *load_gl_texture( const char *file );
00024 
00025 
00026 #endif  //  CONV_GL_H
00027 
00028