1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/os-specific/linux/ati-drivers/patch-samples.patch

27 lines
934 B
Diff
Raw Normal View History

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>