27 lines
934 B
Diff
27 lines
934 B
Diff
|
diff --git a/samples/fgl_glxgears/fgl_glxgears.c b/samples/fgl_glxgears/fgl_glxgears.c
|
||
|
index 6c8e313..2b8d035 100644
|
||
|
--- a/samples/fgl_glxgears/fgl_glxgears.c
|
||
|
+++ b/samples/fgl_glxgears/fgl_glxgears.c
|
||
|
@@ -1096,8 +1096,6 @@ static void event_loop(void)
|
||
|
view_rotx -= 5.0;
|
||
|
}
|
||
|
else {
|
||
|
- r = XLookupString(&event.xkey, buffer, sizeof(buffer),
|
||
|
- NULL, NULL);
|
||
|
if (buffer[0] == 27) {
|
||
|
/* escape */
|
||
|
return;
|
||
|
|
||
|
|
||
|
diff -Nur a/samples/fgl_glxgears/fgl_glxgears.c b/samples/fgl_glxgears/fgl_glxgears.c
|
||
|
--- a/samples/fgl_glxgears/fgl_glxgears.c 2012-08-29 09:59:03.000000000 +0300
|
||
|
+++ b/samples/fgl_glxgears/fgl_glxgears.c 2013-09-07 09:26:11.034723135 +0300
|
||
|
@@ -78,7 +78,6 @@
|
||
|
#endif // _WIN32
|
||
|
|
||
|
#define INT_PTR ptrdiff_t
|
||
|
-#include <GL/glATI.h>
|
||
|
|
||
|
#ifdef _WIN32
|
||
|
#include <GL/wglATI.h>
|