|
@ -13,6 +13,8 @@ |
|
|
// TODO: do glValidateProgram, like in the OpenGL template
|
|
|
// TODO: do glValidateProgram, like in the OpenGL template
|
|
|
// TODO: add error checking at set_uniforms?
|
|
|
// TODO: add error checking at set_uniforms?
|
|
|
|
|
|
|
|
|
|
|
|
namespace J { |
|
|
|
|
|
|
|
|
class shader { |
|
|
class shader { |
|
|
typedef std::map<GLenum, GLuint> ShaderMap; |
|
|
typedef std::map<GLenum, GLuint> ShaderMap; |
|
|
|
|
|
|
|
@ -182,5 +184,7 @@ private: |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
} // namespace J
|
|
|
|
|
|
|
|
|
#endif // SHADER_H
|
|
|
#endif // SHADER_H
|
|
|