Camilla Berglund
9cc8fc0d0a
Removed glfwGetError and glfwErrorString.
...
The cached error code cannot be made per-thread unless it required
glfwInit (due to lack of __thread on OS X), which would be confusing and
partially defeats the purpose of it.
Beginners would use the generic error string facility instead of the
error callback and then be confused by its nondescript messages.
Storing the provided error code from within the error callback, whether
globally or per-thread, requires just a few lines of code and hands
control to the user without compromising thread safety.
2012-12-30 01:50:03 +01:00
Camilla Berglund
238da01770
Re-used profile name macros in glfwinfo.
2012-12-13 20:04:17 +01:00
Camilla Berglund
4bb451f4a7
Removed outdated comment.
2012-12-13 19:33:42 +01:00
Camilla Berglund
11a4d01ea7
Added support for ARB_robustness to glfwinfo.
2012-12-13 19:29:18 +01:00
Camilla Berglund
a8a0585164
Updated debug context detection.
2012-12-13 17:33:08 +01:00
Camilla Berglund
3f5843f500
Renamed tokens used for other client APIs.
2012-12-13 02:22:39 +01:00
Camilla Berglund
b8c16e49f1
Removed window size DWIM.
2012-11-22 17:04:54 +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
bf43247aed
Fixed output of GLFW-parsed context profile by glfwinfo.
2012-10-21 22:13:14 +02:00
Camilla Berglund
937f137246
Improved error formatting.
2012-09-30 15:51:46 +02:00
Camilla Berglund
38cad9aff0
Added client API window hint.
...
This is cherry-picked from the EGL branch in preparation for the EGL backend.
2012-09-30 15:32:50 +02:00
Camilla Berglund
9f94286c9a
Merge branch 'master' into showwindow
...
Conflicts:
readme.html
2012-09-08 21:20:45 +02:00
Camilla Berglund
8a948753df
Added printing of debug context window parameter.
2012-09-06 23:55:23 +02:00
Camilla Berglund
9a183090e0
Merge branch 'master' into showwindow
...
Conflicts:
src/window.c
2012-09-06 15:11:50 +02:00
Camilla Berglund
733cd5372f
Fixed and separated GLFW version check.
2012-08-30 02:17:08 +02:00
Camilla Berglund
f50d38f148
Moved glfwinfo version check to before glfwInit.
2012-08-28 22:56:35 +02:00
Camilla Berglund
f5bfe41456
Moved GLFW_VISIBLE hint use to glfwinfo.
2012-08-28 17:52:22 +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
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
d1617bdd78
Made flag parsing output even more consistent.
2012-08-01 01:46:06 +02:00
Camilla Berglund
b00064902d
Made flag parsing output more consistent.
2012-07-31 23:51:27 +02:00
Camilla Berglund
6c86149bad
Improved output of OpenGL bitmasks.
2012-07-31 23:14:31 +02:00
Camilla Berglund
4b21ccbe19
Output fix.
2012-03-05 20:22:23 +01:00
Camilla Berglund
0c3b1b5a0e
Removed allocator.
2012-02-07 14:58:58 +01:00
Camilla Berglund
086fba40b4
Fixed program names in help output.
2012-02-07 02:30:52 +01:00
Camilla Berglund
b997db3a8b
Removed GLFWthreadmodel and glfwInitWithModels.
2012-02-04 01:38:00 +01:00
Camilla Berglund
792034c42d
Fomatting.
2011-10-09 00:55:39 +02:00
Camilla Berglund
ebffe58369
Renamed version to glfwinfo.
2011-10-09 00:01:44 +02:00