summaryrefslogtreecommitdiff
path: root/community/desmume/glx_3Demu.patch
blob: a473425954239f6c87b34dd572af4ee8d024e56c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
--- src/desmume-0.9.10/src/gtk/glx_3Demu.cpp	2013-11-28 01:36:53.712615822 +0100
+++ glx_3Demu.cpp	2013-11-28 22:08:52.762390897 +0100
@@ -41,11 +41,7 @@
         glXDestroyContext(dpy, ctx);
 
         XCloseDisplay(dpy);
-
-        return true;
     }
-
-    return false;
 }
 
 int init_glx_3Demu(void) 
--- src/desmume-0.9.10/src/gtk/glx_3Demu.cpp	2013-11-28 01:36:53.712615822 +0100
+++ glx_3Demu.cpp	2013-11-28 22:14:34.529740137 +0100
@@ -31,7 +31,7 @@
 static GLXContext ctx;
 static GLXPbuffer pbuf;
 
-void deinit_glx_3Demu(void)
+int deinit_glx_3Demu(void)
 {
     Display *dpy = glXGetCurrentDisplay();