1
0
Fork 0
mirror of https://github.com/gwm17/glfw.git synced 2024-11-23 02:38:52 -05:00
Commit Graph

21 Commits

Author SHA1 Message Date
Camilla Berglund 18d71c2b6d Made window-related callbacks per-window.
This makes polymorphic behaviour easier to implement and avoids the problem of
events being triggered before the GLFW window object is fully usable.
2012-10-29 13:36:01 +01:00
Camilla Berglund d68acb78bf Removed registering glfwTerminate with atexit.
Functions registered with atexit are called from the thread calling exit.
glfwTerminate should only be called from the main thread.  Mistakes should be
explicit.
2012-10-22 03:20:16 +02:00
Camilla Berglund 89018331f7 Fixed invalid uses of glfwDestroyWindow. 2012-09-13 17:29:07 +02:00
Lambert Clara c2729181a2 Fix various warnings reported by gcc
Shadowed variables, const warnings
2012-08-12 14:02:38 +02:00
Lambert Clara 704e56fc81 Fix compilation with MSVC by using sprintf instead of snprintf
snprintf is part of c99 standard, not supported by MS compilers
2012-08-12 12:29:55 +02:00
Camilla Berglund 2f095cc9e3 Removed implicit glfwMakeCurrentContext.
Implicitly making the context current makes sense in a
single-window API but less sense in a multi-window one.
2012-08-10 15:29:45 +02:00
Camilla Berglund ddcf5d471e Removed mirroring of default framebuffer attribs. 2012-08-10 13:28:58 +02:00
Camilla Berglund 585a840329 Added window parameter to glfwSwapBuffers. 2012-08-06 18:13:37 +02:00
Camilla Berglund aff30d0baa Renamed window creation/destruction functions.
Renamed glfwOpenWindow to glfwCreateWindow.
Renamed glfwCloseWindow to glfwDestroyWindow.
Renamed glfwOpenWindowHint to glfwWindowHint.
2012-08-06 17:59:34 +02:00
Camilla Berglund 88fd170e64 Fixed type errors in modes test. 2012-08-02 18:22:11 +02:00
Camilla Berglund 871e1a70d7 Made video mode retrieval dynamic. 2012-08-02 18:03:43 +02:00
Camilla Berglund 6059523b6d Simplified mode printing. 2012-05-07 01:30:55 +02:00
Camilla Berglund 5527e52f58 Added hilighting of desktop mode. 2012-05-07 01:13:07 +02:00
Camilla Berglund d109d8a6d2 Restructured modes test for better encapsulation. 2012-05-07 01:12:08 +02:00
Camilla Berglund eeed6394c0 Added abort via escape key. 2012-05-07 00:44:39 +02:00
Camilla Berglund 93c3d52716 Formatting. 2012-05-07 00:33:21 +02:00
Camilla Berglund dd1a46af43 Added header to more closely match output of older test. 2012-05-07 00:32:03 +02:00
Camilla Berglund 3d5a574e3b Made listing the default for modes test. 2012-05-07 00:29:36 +02:00
Lambert Clara 7a5c2d5f75 Fix clang warning : self-comparison always evaluates to false 2012-04-21 11:47:58 +02:00
Camilla Berglund 08942fcabe Removed call to non-portable function. 2012-03-22 23:28:43 +01:00
Camilla Berglund 18efa516a2 Added modes test. 2012-03-08 01:01:42 +01:00