Skip to content

Commit

Permalink
Try to autodetect HAS_VBO. #3772
Browse files Browse the repository at this point in the history
  • Loading branch information
alranel committed Mar 17, 2017
1 parent 8067295 commit 5cc509f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Slic3r/GUI/3DScene.pm
Expand Up @@ -50,7 +50,7 @@ use constant PI => 3.1415927;

# Constant to determine if Vertex Buffer objects are used to draw
# bed grid and the cut plane for object separation.
use constant HAS_VBO => 1;
use constant HAS_VBO => eval { glGenBuffersARB_p(0); 1 };


# phi / theta angles to orient the camera.
Expand Down

0 comments on commit 5cc509f

Please sign in to comment.