add initial examples, replacing the 'Demos/Demos3'. Will make it work cross-platform, OpenGL3/OpenGL2 and add more examples to it.
This commit is contained in:
18
examples/OpenGLWindow/LoadShader.h
Normal file
18
examples/OpenGLWindow/LoadShader.h
Normal file
@@ -0,0 +1,18 @@
|
||||
#ifndef _LOAD_SHADER_H
|
||||
#define _LOAD_SHADER_H
|
||||
|
||||
#include "OpenGLInclude.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif//__cplusplus
|
||||
|
||||
GLuint gltLoadShaderPair(const char *szVertexProg, const char *szFragmentProg);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif//__cplusplus
|
||||
|
||||
#endif//_LOAD_SHADER_H
|
||||
|
||||
|
||||
Reference in New Issue
Block a user