![]() ![]() Also, if you want a system independent way of doing it, then you could check out SDL. Win32 provides tools to initialize opengl context as well. Therefore you can do about nothing with OpenGL alone. OpenGL initialization and extension fetching are platform dependent operations. One could always open up the source of FreeGlut to see how it implements each glut function, but going lower level than GLX is likely hardcore.īut Ubuntu It's completely operating system independent. You could grab the GLUT source code and see the init code for whatever platform you are concerned with. You can do the initialization with native calls as well. ![]() It is not possible to initialize OpenGL with just gl. This requires some calls to the operating system. What you're doing is initializing a window with an OpenGL context. If not, then what is GLUT doing that is not possible without it? Here are some functions to get you started in terms of initializing OpenGL on specific platforms. Stack Overflow for Teams is a private, secure spot for you and your coworkers to find and share information. By using our site, you acknowledge that you have read and understand our Cookie PolicyPrivacy Policyand our Terms of Service.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |