How to call glGetString()?
BlitzMax Forums/OpenGL Module/How to call glGetString()?
| ||
I know the function is returning a pointer to a string. How do I turn that into a string?Local pointer : Byte Ptr pointer=glGetString(GL_EXTENSIONS) If pointer SUPPORT_GLEXTENSIONS$=What goes here? |
| ||
SUPPORT_GLEXTENSONS$=String.FromCString( glGetString( GL_EXTENSIONS ) ) Also take a look at this |