Re: [cl-opengl-devel] Texture Example

2008-09-17 Thread Luís Oliveira
2008/9/17 Martin Kielhorn <[EMAIL PROTECTED]>: > The interesting part is that with sb-sys:without-gcing > and sb-sys:vector-sap the starting-pointer of the array can be > extracted and used in gl:tex-sub-image-2d. Using SB-SYS:WITH-PINNED-OBJECTS instead of SB-SYS:WITHOUT-GCING would probably be

[cl-opengl-devel] Texture Example

2008-09-17 Thread Martin Kielhorn
Hi, I am new to Lisp and experimenting with cl-opengl. I really wanted to see how I can use textures in Lisp (without having to copy the elements of the array too much). Strangely there was no example in the cl-opengl package. So this is what I've come up with. Copy the code to minimal_texture_exa