Commit 1584d0fa authored by Martin Schultz's avatar Martin Schultz
Browse files

removed commented ccode corpse

parent eb5d2183
......@@ -1665,16 +1665,8 @@ void DrawMeshT<Mesh>::updatePickingVertices_opt(ACG::GLState& _state)
template <class Mesh>
bool ACG::DrawMeshT<Mesh>::supportsPickingVertices_opt()
{
// load and compile picking shader
// load once directly from files:
// if (!pickVertexShader_)
// {
// if (pickVertexMethod_ == 0)
// pickVertexShader_ = GLSL::loadProgram("Picking/pick_vertices_vs.glsl", "Picking/pick_vertices_fs.glsl");
// else
// pickVertexShader_ = GLSL::loadProgram("Picking/vertex.glsl", "Picking/pick_vertices_fs2.glsl");
// }
// load and compile picking shader if necessary
// use shaderGenDesc to generate shaders for better shader compatibility
static ShaderGenDesc desc;
// load from cache
if (pickVertexMethod_ == 0)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment