Part of the Khronos Group

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 2 of 2

Thread: My program crashes at glTexImage3DEXT

  1. #1
    Junior Member Newbie
    Join Date
    Dec 2008

    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?

  2. #2
    Super Moderator OpenGL Lord
    Join Date
    Dec 2003
    Grenoble - France

    Re: My program crashes at glTexImage3DEXT

    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts