|
From: Erik H. <er...@eh...> - 2014-05-27 14:04:57
|
Hi, In an effort to limit the number of dependencies I noticed that canvas is the only place that uses GLU. I think one dependency is easy to remove by replacing gluOrtho2D(0,width,0,height) by glOrtho(0,width,0,height,0,1) in shContext.c Another file that uses GLU is shImage.c which calls gluScaleImage when a texture in not a power of two. But since we control the texture sizes ourselves I doubt this code is ever called. Erik -- http://www.adalin.com - Hardware accelerated AeonWave and OpenAL for Windows and Linux - AeonWave Audio Effects software for DJ, Instrumentalist and Vocalist |