Is there a module that supports OpenGL 2.0?
Lucas Goss
lgoss007 at gmail.com
Thu Feb 23 16:31:33 PST 2006
Lucas Goss wrote:
> Anyways, when I include glutDisplayFunc in the program, I get this error:
>
> test.d(127): function glut.glutDisplayFunc (void(C *)()) does not match
> argument types (void(*)())
> test.d(127): cannot implicitly convert expression (& renderScene) of
> type void(*)() to void(C *)()
>
> Any clues how to fix this? I've never seen this one before.
Nevermind. Adding "extern (C)" to the functions fixed it.
Well now I have it compiling... however I get a segmentation fault. I
wonder if it has anything to do with my video drivers...
More information about the Digitalmars-d
mailing list