(bind-func gl_render
(lambda (model:XTMModel*)
(if (null? model)
(println "gl_render recieved null pointer for model - did you load the model successfully?")
(begin (xtm_render null render:XTMRENDERCB null null (convert model i8*))
void))))