/* * initShader.h * * Created on: Aug 28, 2017 * Author: Thumrongsak Kosiyatrakul */ #ifndef INITSHADER_H_ #define INITSHADER_H_ #ifdef __APPLE__ // include Mac OS X verions of headers #include #include #else // non-Mac OS X operating systems #include #include #include #endif // __APPLE__ struct Shader { const char* filename; GLenum type; GLchar* source; }; GLuint initShader(const char* vertexShaderFile, const char* fragmentShaderFile); #endif /* INITSHADER_H_ */