Pages: 1
Author Topic: Remove GLU dependency  (Read 1101 times)
Offline (Male) RetroX
Posted on: July 31, 2011, 01:07:35 PM

Master of all things Linux
Location: US
Joined: Apr 2008
Posts: 1055
MSN Messenger -
View Profile Email
Currently, the only two functions from it that are used are gluLookAt and gluPerspective.  I also see a line with gluBuild2DMipmaps that is commented out, but it's really not necessary.

Both of these functions can be replicated with basic GL calls.  Currently, they are only used in GSd3d.h and GSd3d.cpp.
« Last Edit: July 31, 2011, 01:19:55 PM by RetroX » Logged
My Box: Phenom II 3.4GHz X4 | ASUS ATI RadeonHD 5770, 1GB GDDR5 RAM | 1x4GB DDR3 SRAM | Arch Linux, x86_64 (Cube) / Windows 7 x64 (Blob)
Quote from: Fede-lasse
Why do all the pro-Microsoft people have troll avatars? :(
Offline (Unknown gender) luiscubal
Reply #1 Posted on: July 31, 2011, 01:22:06 PM
Joined: Jun 2009
Posts: 452

View Profile Email
Wait, aren't these OpenGL 3D functions? I could understand the need for Ortho, but this...?
Unless it's for the D3D functions?
Offline (Male) Josh @ Dreamland
Reply #2 Posted on: July 31, 2011, 03:12:03 PM

Prince of all Goldfish
Location: Pittsburgh, PA, USA
Joined: Feb 2008
Posts: 2959

View Profile Email
I'd sooner just comment all the 3D functions for now until we finish the extensions system to accompany graphics. Fixing the two instances of GLU functions for now would be short-sighted at best.
"That is the single most cryptic piece of code I have ever seen." -Master PobbleWobble
"I disapprove of what you say, but I will defend to the death your right to say it." -Evelyn Beatrice Hall, Friends of Voltaire
Pages: 1