19 lines
436 B
C
19 lines
436 B
C
#ifndef OPENGL_H
|
|
#define OPENGL_H
|
|
#include <SDL2/SDL_opengl.h>
|
|
#include <SDL2/SDL.h>
|
|
|
|
GLuint createTexture(SDL_Surface *surface);
|
|
GLuint create1dTexture(SDL_Surface *surface);
|
|
|
|
int reinitDisplay();
|
|
int reinitGl();
|
|
|
|
/*int loadShader(const char *filename, GLchar **shader);
|
|
GLuint compileFShader(GLchar *shader_source);
|
|
int deleteShader(GLuint program);
|
|
|
|
GLuint shaderToProgram(GLuint shader);
|
|
int deleteProgram(GLuint program);*/
|
|
#endif
|