27 lines
230 B
C
27 lines
230 B
C
|
|
|
||
|
|
|
||
|
|
#define GL_GLEXT_PROTOTYPES
|
||
|
|
|
||
|
|
#include <GL/glext.h>
|
||
|
|
|
||
|
|
#include <GL/gl.h> // GL 1.1 functions
|
||
|
|
|
||
|
|
#include <GL/glx.h>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
class uniform{
|
||
|
|
|
||
|
|
char name[64];
|
||
|
|
|
||
|
|
GLint index;
|
||
|
|
|
||
|
|
GLint location;
|
||
|
|
|
||
|
|
GLint offset;
|
||
|
|
|
||
|
|
GLint size;
|
||
|
|
|
||
|
|
GLenum type;
|
||
|
|
|
||
|
|
}
|