loader functions moved to external file

This commit is contained in:
Benjamin Petsch
2016-09-09 11:55:56 +02:00
parent 4f347a6ef5
commit 1b03cfe32b
6 changed files with 538 additions and 146 deletions

View File

@@ -0,0 +1,10 @@
#ifndef LOADERS_H
#define LOADERS_H
#define GLEW_STATIC
#include <GL/glew.h>
int InitLoaders();
GLuint LoadTexture(char *filename,int *textw,int *texth);
GLuint LoadShaders(const char * vertex_file_path,const char * fragment_file_path);
#endif // LOADERS_H