summaryrefslogtreecommitdiffstats
path: root/meta/packages/qemu/qemu-git/fix-nogl.patch
blob: f1f9bcf00bdeff7b9777dc332f890492dcc91a20 (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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
Index: git/Makefile.target
===================================================================
--- git.orig/Makefile.target	2009-06-09 22:05:27.000000000 +0100
+++ git/Makefile.target	2009-06-09 22:05:28.000000000 +0100
@@ -155,6 +155,8 @@
 
 ifeq ($(TARGET_BASE_ARCH), i386)
 LIBOBJS+=helper_opengl.o opengl_exec.o
+else
+LIBOBJS+=dummygl.o
 endif
 
 ifeq ($(TARGET_BASE_ARCH), arm)
Index: git/target-arm/dummygl.c
===================================================================
--- /dev/null	1970-01-01 00:00:00.000000000 +0000
+++ git/target-arm/dummygl.c	2009-06-09 22:15:55.000000000 +0100
@@ -0,0 +1,22 @@
+#include <string.h>
+#include <stdlib.h>
+#include <assert.h>
+#include <stdint.h>
+#include <X11/Xlib.h>
+#include <X11/Xutil.h>
+
+void opengl_exec_set_parent_window(Display* _dpy, Window _parent_window)
+{
+
+}
+
+void opengl_process_enable(void)
+{
+
+}
+
+
+void mem_opengl(uint64_t ptr)
+{
+
+}