#80 1D texture problem !!!

open
nobody
None
5
2005-02-23
2005-02-23
Anonymous
No

after creating a 1D texture in a buffer named data

ilBindImage(Image);
ilTexImage(256, 1, 1, 3, IL_RGB, IL_UNSIGNED_BYTE, data);

try to bind it to an openGL texture with :

iluBuildMipmaps();

and/or

ilutGLBindTexImage();

or

ilutGLBindMipmaps();

result in a 0xC0000005 : Access Violation error
(Win32 DevIL build 1.6.7)

ilGetInteger(IL_IMAGE_WIDTH);
ilGetInteger(IL_IMAGE_HEIGHT);
ilGetInteger(IL_IMAGE_DEPTH);
give me the right value (256,1,1) in this example

i didn't try any other operation

submitted by symmenthical:
symmenthical@gmail.com
http://symmenthical.site.voila.fr/index.html

Discussion