Hi, I've been writing a small opengl program using freeglut and the native
C calls, however I run into problems when trying to read a texture in order
to display text, specifically when calling glGenTextures expanded from
the openGl.l in lib.
(de glGenTextures (_tex-num _tex-ptr)
(native `*GlutLib "glGenTextures" _tex-num (list _tex-ptr (4 . I)) )
It should store a pointer in _tex-ptr but when run it gives the error
*** Error in "/usr/bin/picolisp": free(): invalid next size (fast)
Anyone has any experience working with opengl
displaying text or had this error?
I'm really clueless about how should one go about this in Pico.
--
UNSUBSCRIBE: mailto:[email protected]?subject=Unsubscribe