Skip to content
Snippets Groups Projects
Commit 82ec2690 authored by stefan's avatar stefan
Browse files

Fix for scene (build error)

git-svn-id: https://dng.biozentrum.unibas.ch/svn/openstructure/trunk@1775 5a81b35b-ba03-0410-adc8-b2c5c5119f08
parent bd7c409b
Branches
Tags
No related merge requests found
......@@ -251,7 +251,7 @@ void Scene::InitGL()
Shader::Instance().Setup();
Shader::Instance().Activate("fraglight");
glGenTextures(1,texture_id_);
glGenTextures(1,&texture_id_);
#endif
prep_glyphs();
......@@ -1427,7 +1427,7 @@ void Scene::prep_shadow_map()
// now get the shadow map
glActiveTexture(GL_TEXTURE0);
glBindTexture(GL_TEXTURE_2D, texture_id_[0]);
glBindTexture(GL_TEXTURE_2D, texture_id_);
glCopyTexImage2D(GL_TEXTURE_2D, 0, GL_DEPTH_COMPONENT,
0,0, smap_size,smap_size, 0);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment