(bind-func gl_render
(let ((models:XTMModel** (alloc 3)))
(lambda (model1:XTMModel*)
(if (null? model1)
(println "gl_render recieved null pointer for model1 - did you load the model successfully?"))
(xtm_render prerender:XTMRENDERCB render:XTMRENDERCB null null (cast model1 i8*))
void)))