here is a patch to use glew: glew.sf.net
this resolves all my multitexturing problems and removes the need for
advanced_opengl.c. so imho a very beneficial prospect?
have fun
dunk
I originally coded advanced_opengl.c and .h to make cellshading work
under the Windows version of Soya and resolve multitexture issues.
The use of glew as a tool to access OpenGL extensions is i think a
better way:
- it makes soya code platform independant
- if offers a safier way to handle exceptions, when an extension is not
found (an error that occurs for example if your video card driver is too
old).
Just a question : what is the required version of Glew?
I did not yet test your patch but i send you results as soon it is done.
Cheers,
Thomas