Hi,
mipmaps for textures using opengl and linux didn't work, so i changed 3 lines or so and now they do (as far as i've tested). Here is a diff of COpenGLTexture.cpp:
9a10
> #include <GL/glu.h>
26c27
< hasMipMaps = false;
---
> // hasMipMaps = false;
85c86
< #ifdef _WIN32
---
> // #ifdef _WIN32
88c89
< #endif
---
> // #endif
Then just add -lGLU to the LIBS in Makefile (both for source as well as for the examples!).
small patch to make mipmaps under linux work
-
- Posts: 17
- Joined: Tue Dec 09, 2003 9:03 am
- Location: Germany