Separated time state from window system state.

This commit is contained in:
Camilla Berglund
2014-03-27 17:19:22 +01:00
parent 7a4623e034
commit 17d9051b82
10 changed files with 56 additions and 47 deletions
-4
View File
@@ -62,9 +62,7 @@
#error "No supported context creation API selected"
#endif
#define _GLFW_POSIX_TIME_CONTEXT _glfw.x11.timer
#include "posix_time.h"
#include "linux_joystick.h"
#define _GLFW_PLATFORM_WINDOW_STATE _GLFWwindowX11 x11
@@ -204,8 +202,6 @@ typedef struct _GLFWlibraryX11
int exposure;
} saver;
_GLFWtimePOSIX timer;
struct {
char* string;
} selection;