summaryrefslogtreecommitdiff
path: root/graphics/reallyslick/files/patch-other_src_driver.c
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2009-05-28 23:49:33 +0000
committerMartin Wilke <miwi@FreeBSD.org>2009-05-28 23:49:33 +0000
commitad5af0448cb4c018671a93203fe32409e197b68a (patch)
tree0385c41748bc640aa189005053f46c4a46e0750b /graphics/reallyslick/files/patch-other_src_driver.c
parent- Update to version 2.7 (diff)
- Update to version 0.9.0
PR: 135034 Submitted by: Ports Fury
Diffstat (limited to '')
-rw-r--r--graphics/reallyslick/files/patch-other_src_driver.c27
1 files changed, 0 insertions, 27 deletions
diff --git a/graphics/reallyslick/files/patch-other_src_driver.c b/graphics/reallyslick/files/patch-other_src_driver.c
deleted file mode 100644
index db4885e70829..000000000000
--- a/graphics/reallyslick/files/patch-other_src_driver.c
+++ /dev/null
@@ -1,27 +0,0 @@
---- other_src/driver.c.orig Sun Feb 26 07:16:15 2006
-+++ other_src/driver.c Fri Apr 28 09:27:01 2006
-@@ -152,10 +152,14 @@
- {
- int bFPS = False;
- XEvent event;
-- Atom XA_WM_PROTOCOLS = XInternAtom (XStuff->display, "WM_PROTOCOLS", False);
-- Atom XA_WM_DELETE_WINDOW = XInternAtom (XStuff->display, "WM_DELETE_WINDOW", False);
-+ Atom XA_WM_PROTOCOLS;
-+ Atom XA_WM_DELETE_WINDOW;
- struct timeval then, now, fps_time;
- int fps = 0;
-+ int frameTimeSoFar = 0;
-+
-+ XA_WM_PROTOCOLS = XInternAtom (XStuff->display, "WM_PROTOCOLS", False);
-+ XA_WM_DELETE_WINDOW = XInternAtom (XStuff->display, "WM_DELETE_WINDOW", False);
-
- if (!rootWindow) {
- XSetWMProtocols (XStuff->display, XStuff->window, &XA_WM_DELETE_WINDOW, 1);
-@@ -164,7 +168,6 @@
- clearBuffers();
-
- gettimeofday (&now, NULL);
-- int frameTimeSoFar = 0;
- while (!signalled) {
- hack_draw (XStuff, (double)now.tv_sec + now.tv_usec / 1000000.0f, frameTimeSoFar / 1000000.0f);
-