GLTexImage2D crash

BlitzMax Forums/BlitzMax OpenGL Programming/GLTexImage2D crash

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

looks fine to me..assuming

n is a valid mipindex, 0..n - GLint level
glinternalformat=3 - GLint components
mw&mh are power of 2 + square.
format=GL_RGB - GLenum format.

yup..i dont see how this could fail....are you sure your banks
are sized correctly? - i can only think your having memory
access problems..