mirror of
https://github.com/glfw/glfw.git
synced 2024-11-26 06:14:35 +00:00
Fixed pthread.h not included by GLX header.
This commit is contained in:
parent
61ccb034d0
commit
402189ba14
@ -78,6 +78,8 @@ guide in the GLFW documentation.
|
|||||||
- [X11] Bugfix: Removed joystick axis value negation left over from GLFW 2
|
- [X11] Bugfix: Removed joystick axis value negation left over from GLFW 2
|
||||||
- [X11] Bugfix: The position of hidden windows was ignored by Metacity
|
- [X11] Bugfix: The position of hidden windows was ignored by Metacity
|
||||||
and Compiz
|
and Compiz
|
||||||
|
- [X11] Bugfix: The `pthread.h` header was not included by the GLX platform
|
||||||
|
header.
|
||||||
|
|
||||||
|
|
||||||
## Contact
|
## Contact
|
||||||
|
@ -30,7 +30,6 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <pthread.h>
|
|
||||||
|
|
||||||
|
|
||||||
// This is the only glXGetProcAddress variant not declared by glxext.h
|
// This is the only glXGetProcAddress variant not declared by glxext.h
|
||||||
|
@ -41,6 +41,8 @@
|
|||||||
#include <dlfcn.h>
|
#include <dlfcn.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include <pthread.h>
|
||||||
|
|
||||||
// We support four different ways for getting addresses for GL/GLX
|
// We support four different ways for getting addresses for GL/GLX
|
||||||
// extension functions: glXGetProcAddress, glXGetProcAddressARB,
|
// extension functions: glXGetProcAddress, glXGetProcAddressARB,
|
||||||
// glXGetProcAddressEXT, and dlsym
|
// glXGetProcAddressEXT, and dlsym
|
||||||
|
Loading…
Reference in New Issue
Block a user