My program crashes at glTexImage3DEXT

Hi All,
i have a C++ application that uses GLUT … this application reads volume data from a file and display it
i’d like to get rid of the GLUT and work under MFC
The old program proceeds as following:

->create window using GLUT
->check if GL_EXT_texture3D Extention is supported
->init texture

now [after working under MFC] the program crashes
at calling glTexImage3DEXT

any idea about what may cause that error?

Make sure function pointer of glTexImage3DEXT is not null.
Make sure the data array you pass has the good size, changes in default alignement may make it work in one case and not the other.

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.