Mercurial > hg > orthanc-stone
diff Framework/OpenGL/OpenGLShader.cpp @ 579:fadacfbf5538
OpenGL programs and textures
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 19 Apr 2019 16:06:45 +0200 |
parents | 21fd70df3fc9 |
children | 434ceeb0bcab |
line wrap: on
line diff
--- a/Framework/OpenGL/OpenGLShader.cpp Fri Apr 19 15:57:46 2019 +0200 +++ b/Framework/OpenGL/OpenGLShader.cpp Fri Apr 19 16:06:45 2019 +0200 @@ -78,17 +78,6 @@ } - OpenGLShader::OpenGLShader(GLenum type, - Orthanc::EmbeddedResources::FileResourceId resource) - { - std::string content; - Orthanc::EmbeddedResources::GetFileResource(content, resource); - - shader_ = CompileShader(type, content); - isValid_ = true; - } - - OpenGLShader::~OpenGLShader() { if (isValid_)