 
 
     if (wireframe) {
-      glUseProgram(solidPrg);
+      glUseProgram(solidProg);
       glPolygonMode(GL_FRONT_AND_BACK, GL_LINE);
       glUniformMatrix4fv(0, 1, GL_FALSE, normal_matrix);
       glUniformMatrix4fv(1, 1, GL_FALSE, modelview_projection);

    return false;
  }


}


  CHECKED_CUDA(cudaStreamCreateWithFlags(&stream, cudaStreamNonBlocking));

  // Set up scalar field
  float* scalar_field_d = nullptr;
  setupScalarField(scalar_field_d, path, field_size, stream);

  auto* tables = createTables(stream);





  //GLuint vdatabuf = createBuffer(GL_ARRAY_BUFFER, GL_STATIC_DRAW, sizeof(vertexData), (const void*)vertexData);
