mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-07-26 03:04:26 +08:00
Try to autodetect HAS_VBO. #3772
This commit is contained in:
parent
8067295684
commit
5cc509f3fe
@ -50,7 +50,7 @@ use constant PI => 3.1415927;
|
|||||||
|
|
||||||
# Constant to determine if Vertex Buffer objects are used to draw
|
# Constant to determine if Vertex Buffer objects are used to draw
|
||||||
# bed grid and the cut plane for object separation.
|
# 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.
|
# phi / theta angles to orient the camera.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user