15 lines
391 B
C
15 lines
391 B
C
|
#pragma once
|
||
|
|
||
|
#include <string>
|
||
|
|
||
|
#include <GL/glew.h>
|
||
|
|
||
|
#include <SDL_video.h>
|
||
|
|
||
|
void common_GL_Init (SDL_Window*, SDL_GLContext*, int);
|
||
|
|
||
|
void common_GL_TexParameters (const GLenum, const GLenum, const GLenum, const GLenum, const GLenum);
|
||
|
GLuint common_GL_SurfaceFormat (SDL_Surface*);
|
||
|
GLuint common_GL_LoadTextureSurface (SDL_Surface*);
|
||
|
GLuint common_GL_LoadTexturePath (const std::string&);
|