PDA

View Full Version : Problem with using glTexSubImage3D



yasirsaleem
25th March 2011, 15:18
Dear all,
I am using qt-4.7.1 and qt-creator 2.0.1. I am doing a project in which I used glTexSubImage3D i.e


glTexSubImage3D(GL_TEXTURE_3D, 0, 0, j, i, nx, 1, 1,GL_ALPHA, GL_UNSIGNED_SHORT, data + i * nx * ny + j * nx);

My project runs fine unless I use this statement. But when I use this statement I get an error of sometype like this:



exited with code -1073741515


Now Kindly tell me how I fix this problem

Thank you