From 54b4762830d447e6a772abac193f2f2d4c745d7a Mon Sep 17 00:00:00 2001 From: Stephen Birarda Date: Fri, 8 Feb 2013 14:01:35 -0800 Subject: [PATCH] conditional Apple OS include of call to glPointParameterfvARB --- interface/src/main.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/interface/src/main.cpp b/interface/src/main.cpp index 8a64b7e169..a79a0cad7b 100644 --- a/interface/src/main.cpp +++ b/interface/src/main.cpp @@ -598,7 +598,9 @@ void display(void) Audio::render(WIDTH, HEIGHT); //drawvec3(100, 100, 0.15, 0, 1.0, 0, myHead.getPos(), 0, 1, 0); +#ifdef __APPLE__ glPointParameterfvARB( GL_POINT_DISTANCE_ATTENUATION_ARB, pointer_attenuation_quadratic ); +#endif // myFinger.render();