#include "MyShaderProgram.h" #include "Util.h" MyShaderProgram::MyShaderProgram() // TEMP Hardcode in the path. (Should Use Relative Path to General Shader Dir) : m_vertex_shader(Util::load_file("D:\\Development\\C++\\OpenGLEngine\\OpenGLEngine\\MyVertexShader.glsl"), VERTEX_SHADER), m_fragment_shader(Util::load_file("D:\\Development\\C++\\OpenGLEngine\\OpenGLEngine\\MyFragmentShader.glsl"), FRAGMENT_SHADER) { attach_shader(m_vertex_shader); attach_shader(m_fragment_shader); link(); }