![]() 示例代码参考自: /daw42/glslco okbook/blob/master/chapter01/scenebasic. ![]() MainLoop () // Close window and terminate GLFW cygwin opengl problem: Group: Cygwin: From: dvmorris: Date: : I finally managed to get this c++ program compiled on cygwin, and when I start it up, the interface (done in fltk) works great, but the opengl display window is frozen. ![]() Using std :: string using std :: ifstream GLFWwindow * window static HMODULE libGL GLuint vaoHandle int width, height void update ( float t ) void render () void mainLoop () dumpGLInfo ( false ) // Initialization #include #include #include #include #include #include #include #include #pragma comment(lib, "opengl32.lib")
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |