Skip to content
Snippets Groups Projects
Commit 1584d0fa authored by Martin Schultz's avatar Martin Schultz
Browse files

removed commented ccode corpse

parent eb5d2183
No related branches found
No related tags found
1 merge request!88Feature picking shader compatibility
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment