OGL MultiTexturing

BlitzMax Forums/OpenGL Module/OGL MultiTexturing

Richard B(Posted 2005) [#1]
Has anyone had any success in being able to use more that one texture unit? At the moment BlitzMax is crashing as soon as I issue a command like "glActiveTexture(GL_TEXTURE0)". I have just been modifying a cleaned up version of the sample maxcube.bmx code and I am not sure if its my lack of OGL knowledge or a problem with BlitzMax.

thanks
Richard.

PS I can post the code if necessary.


Tom(Posted 2005) [#2]
Might need to call glewInit() right after bglCreateContext(), have you got that in there?


Richard B(Posted 2005) [#3]
You champion! It stopped the crashing - now to figure out how to use multitexturing :(

many thanks,
Richard.