Modified NeHe tut 2 to draw circles and now trying to save them to a file. 
Have tried multiple combinations of the code below and also asked on IRC.

pix=Array(GLubyte,width*height*3)#Ptr{GLubyte}
glReadPixels(0,0,width,height,GL_RGB,GL_UNSIGNED_BYTE,pix)

Result: ERROR: error compiling DrawGLScene: ccall: argument type Ptr should 
have an element type, Ptr{T}

Suggestions?

Reply via email to