Camilla Berglund
6fadf37bda
Replaced window close parameter with mutable flag.
...
Replaced the GLFW_SHOULD_CLOSE window parameter with the
glfwWindowShouldClose and glfwSetWindowShouldClose functions, allowing
the setting of the close flag from any point in the program.
2013-03-01 14:13:45 +01:00
Camilla Berglund
f0f4af4287
Fixed warnings on VC++.
2013-01-06 21:02:57 +01:00
Camilla Berglund
9af960e2dd
Made the pointer-ness of object handles explicit.
2013-01-05 21:13:28 +01:00
Camilla Berglund
7be7da16af
Merge branch 'master' into multi-monitor
...
Conflicts:
include/GL/glfw3.h
2012-12-13 02:23:38 +01:00
Camilla Berglund
3f5843f500
Renamed tokens used for other client APIs.
2012-12-13 02:22:39 +01:00
Camilla Berglund
7c426d1c92
Merge branch 'master' into multi-monitor
...
Conflicts:
examples/wave.c
src/init.c
src/internal.h
src/window.c
tests/accuracy.c
tests/events.c
tests/reopen.c
2012-11-01 00:07:01 +01:00
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
1be1636326
Begun integrating monitor and window.
2012-09-27 21:38:35 +02:00
Camilla Berglund
a2ca095b86
Renamed GLFW_WINDOW_RESIZABLE to GLFW_RESIZABLE.
...
This matches GLFW_ACTIVE and GLFW_ICONIFIED.
2012-08-21 20:28:36 +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
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
9871b5dc79
Removed deprecated macro.
2012-06-11 14:14:00 +02:00
Camilla Berglund
0c49e9ec87
Fixed function pointer casting.
2012-06-11 14:13:05 +02:00
Camilla Berglund
0c3b1b5a0e
Removed allocator.
2012-02-07 14:58:58 +01:00
Camilla Berglund
b997db3a8b
Removed GLFWthreadmodel and glfwInitWithModels.
2012-02-04 01:38:00 +01:00
Camilla Berglund
a18cd1b14c
Renamed GLFW_WINDOW_NO_RESIZE to GLFW_WINDOW_RESIZABLE.
2011-11-02 16:56:34 +01:00
Camilla Berglund
4afc67c1df
Various Windows and VC++ 2010 fixes.
2011-07-27 17:09:17 +02:00
Marcus
e3cb563a28
Fixed key names in the example and test programs.
2011-01-03 22:22:14 +01:00
Camilla Berglund
4044c2da66
Made callbacks library global.
2010-10-24 18:28:55 +02:00
Camilla Berglund
99ddce3214
Added context sharing.
2010-10-04 18:17:53 +02:00
Camilla Berglund
a1ae18f7d4
Replaced inline declarations with glext.h usage.
2010-10-03 19:01:06 +02:00
Camilla Berglund
ba3ecfb8b2
Removed trailing whitespace.
2010-10-03 18:57:12 +02:00
Olivier Delannoy
70647eaad5
Added ignore rules for git, the heightmap examples from GLFW 2.7 and fixed a built issue on X11 introduced by using glxext.h
2010-09-24 21:47:25 +01:00