[Cl-smoke] GLuint conversion error

Tobias Rautenkranz tobias at rautenkranz.ch
Wed Mar 10 18:25:21 CET 2010


> When I try to bind a texture in a customized subclass of glwidget using the
> following code, I get some sort of conversion error.
> 
> (cxx:bind-texture my-glwidget (make-instance 'qt:pixmap :arg0
> "texture.png"))
The error message was not that good. The problem was a missing type translator 
in cl-smoke to convert the return value of cxx:bind-texture (GLuint) to a Lisp 
integer.
I have added the missing type translators to qt.opengl.

Regards,
Tobias




More information about the Cl-smoke mailing list