summaryrefslogtreecommitdiff
path: root/vcl/opengl/program.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/opengl/program.cxx')
-rw-r--r--vcl/opengl/program.cxx18
1 files changed, 0 insertions, 18 deletions
diff --git a/vcl/opengl/program.cxx b/vcl/opengl/program.cxx
index 2331080d28c1..71530cbf75cb 100644
--- a/vcl/opengl/program.cxx
+++ b/vcl/opengl/program.cxx
@@ -135,16 +135,6 @@ void OpenGLProgram::SetExtrusionVectors(const GLvoid* pData)
SetVertexAttrib(mnNormalAttrib, "extrusion_vectors", pData, 3);
}
-void OpenGLProgram::SetShaderType(TextureShaderType eTextureShaderType)
-{
- SetUniform1i("type", GLint(eTextureShaderType));
-}
-
-void OpenGLProgram::SetShaderType(DrawShaderType eDrawShaderType)
-{
- SetUniform1i("type", GLint(eDrawShaderType));
-}
-
GLuint OpenGLProgram::GetUniformLocation( const OString& rName )
{
auto it = maUniformLocations.find( rName );
@@ -296,14 +286,6 @@ void OpenGLProgram::SetTransform(
CHECK_GL_ERROR();
}
-void OpenGLProgram::SetIdentityTransform(const OString& rName)
-{
- GLuint nUniform = GetUniformLocation(rName);
- glm::mat4 aMatrix = glm::mat4();
- glUniformMatrix4fv(nUniform, 1, GL_FALSE, glm::value_ptr( aMatrix ) );
- CHECK_GL_ERROR();
-}
-
void OpenGLProgram::ApplyMatrix(float fWidth, float fHeight, float fPixelOffset)
{