shader.cpp 299 B

123456789101112131415
  1. //
  2. // shader.cpp
  3. // graphics
  4. //
  5. // Created by Sam Jaffe on 7/5/16.
  6. //
  7. #include "game/graphics/shader.hpp"
  8. #include "helper.hpp"
  9. using namespace graphics;
  10. shader::shader(shaders::type type, std::string const & path)
  11. : identity<shader>(shaders::init(type, path)), type(type), path(path) {}