Files
UltraGrid/FastDXT/glsl.h
Lukas Hejtmanek 2958fb94d7 initial import
2010-02-05 15:13:26 +01:00

29 lines
522 B
C

#define GLSL_YCOCG 1
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <fcntl.h>
#if defined(WIN32)
#include <io.h>
#else
#include <unistd.h>
#define GLEW_STATIC 1
#endif
#if defined(GLSL_YCOCG)
#include <GL/glew.h>
extern GLhandleARB PHandle;
int GLSLreadShader(char *fileName, int shaderType, char *shaderText, int size);
int GLSLreadShaderSource(char *fileName, GLchar **vertexShader, GLchar **fragmentShader);
GLuint GLSLinstallShaders(const GLchar *Vertex, const GLchar *Fragment);
#endif