1
0
Fork 0
mirror of https://github.com/gwm17/glfw.git synced 2024-11-27 04:28:52 -05:00
glfw/tests
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
..
accuracy.c Removed glfwGetError and glfwErrorString. 2012-12-30 01:50:03 +01:00
clipboard.c Removed glfwGetError and glfwErrorString. 2012-12-30 01:50:03 +01:00
CMakeLists.txt Temporary fix for OPENGL_INCLUDE_DIR being NOTFOUND on OS X 10.8. 2012-12-27 18:04:24 +01:00
defaults.c Removed glfwGetError and glfwErrorString. 2012-12-30 01:50:03 +01:00
events.c Removed glfwGetError and glfwErrorString. 2012-12-30 01:50:03 +01:00
fsaa.c Removed glfwGetError and glfwErrorString. 2012-12-30 01:50:03 +01:00
fsfocus.c Removed glfwGetError and glfwErrorString. 2012-12-30 01:50:03 +01:00
gamma.c Removed glfwGetError and glfwErrorString. 2012-12-30 01:50:03 +01:00
glfwinfo.c Removed glfwGetError and glfwErrorString. 2012-12-30 01:50:03 +01:00
iconify.c Removed glfwGetError and glfwErrorString. 2012-12-30 01:50:03 +01:00
joysticks.c Removed glfwGetError and glfwErrorString. 2012-12-30 01:50:03 +01:00
modes.c Made window-related callbacks per-window. 2012-10-29 13:36:01 +01:00
peter.c Removed glfwGetError and glfwErrorString. 2012-12-30 01:50:03 +01:00
reopen.c Removed glfwGetError and glfwErrorString. 2012-12-30 01:50:03 +01:00
sharing.c Removed glfwGetError and glfwErrorString. 2012-12-30 01:50:03 +01:00
tearing.c Removed glfwGetError and glfwErrorString. 2012-12-30 01:50:03 +01:00
threads.c Removed glfwGetError and glfwErrorString. 2012-12-30 01:50:03 +01:00
title.c Removed glfwGetError and glfwErrorString. 2012-12-30 01:50:03 +01:00
windows.c Removed glfwGetError and glfwErrorString. 2012-12-30 01:50:03 +01:00