History

using OpenGL later than 2, remove ARB from calls

Stephen Birarda committed 13 years ago

Commit d79bf391 parent 4983cc63 files · +5 −11Browse files

Showing the changes to interface/src/Util.cpp (1 of 3 files). Show all

Unified · Split

interface/src/Util.cpp+1−3
@@ -95,9 +95,7 @@ void render_vector(glm::vec3 * vec) · 94 unmodified lines
95 glEnd();95 glEnd();
96 float particle_attenuation_quadratic[] = { 0.0f, 0.0f, 2.0f }; // larger Z = smaller particles96 float particle_attenuation_quadratic[] = { 0.0f, 0.0f, 2.0f }; // larger Z = smaller particles
97 97
98#ifndef __APPLE__98 glPointParameterfv( GL_POINT_DISTANCE_ATTENUATION, particle_attenuation_quadratic );
99 glPointParameterfvARB( GL_POINT_DISTANCE_ATTENUATION_ARB, particle_attenuation_quadratic );
100#endif
101 99
102 glEnable(GL_POINT_SMOOTH);100 glEnable(GL_POINT_SMOOTH);
103 glPointSize(10.0);101 glPointSize(10.0);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t