Inexor
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
SDL_loading.hpp
Go to the documentation of this file.
1 
4 #pragma once
5 
6 #include <SDL_surface.h> // for SDL_Surface
7 
8 extern SDL_Surface *wrapsurface(void *data, int width, int height, int bpp);
9 
10 extern bool canloadsurface(const char *name);
11 extern SDL_Surface *loadsurface(const char *name);
12 
13 
uchar * data
Definition: image.hpp:24
GLenum GLsizei GLsizei height
Definition: glexts.hpp:291
bool canloadsurface(const char *name)
Definition: SDL_loading.cpp:92
GLenum GLsizei width
Definition: glexts.hpp:291
int bpp
Definition: image.hpp:22
SDL_Surface * wrapsurface(void *data, int width, int height, int bpp)
Definition: SDL_loading.cpp:24
SDL_Surface * loadsurface(const char *name)
Definition: SDL_loading.cpp:100