Hi,<br>I'm following nehe's tutorials at <a href="http://nehe.gamedev.net">nehe.gamedev.net</a>, and I'm having a lot of trouble with loading and binding textures. So, I *tried* to approximate what happened in his tutorial:
<br><br>I opened a stream to the bmp file with<br>(setf test (open "/home/tudor/email.bmp" :element-type '(cl-user::unsigned-byte 8)))<br><br>Then, I made an 1d array of 5000 elements (just so it was 'big enough') and stored the rgb values in it with
<br>(read-sequence test-array test)<br><br>However, when I do (gl:bind-texture gl:tex-image-2d test-array),<br>it says that cl-opengl:tex-image-2d is unbound.<br><br>What am I doing wrong?<br><br>Thanks,<br>Tudor<br>