Subversion Repositories gelsvn

Rev

Rev 594 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 594 Rev 601
Line 10... Line 10...
10
 */
10
 */
11
 
11
 
12
#ifndef __GLGRAPHICS_GLSL_SHADER_H__
12
#ifndef __GLGRAPHICS_GLSL_SHADER_H__
13
#define __GLGRAPHICS_GLSL_SHADER_H__
13
#define __GLGRAPHICS_GLSL_SHADER_H__
14
 
14
 
15
#include <GL/glew.h>
15
#include "../GL/glew.h"
16
#include <string>
16
#include <string>
17
 
17
 
18
/* It is a little tricky to make shader programs in C++ using GLSL but the problems are
18
/* It is a little tricky to make shader programs in C++ using GLSL but the problems are
19
  almost all silly little things. For instance, how do you robustly read from a text 
19
  almost all silly little things. For instance, how do you robustly read from a text 
20
  file? How do you compile a shader and check for errors? In OpenGL What is the difference 
20
  file? How do you compile a shader and check for errors? In OpenGL What is the difference