x11es: use EGL
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
From e0d2f1123b26dad9a2dd006c7b81e44986b7bb80 Mon Sep 17 00:00:00 2001
|
From d1611b3578c0344a9b08d4981e1357560869ff1f Mon Sep 17 00:00:00 2001
|
||||||
From: Sergey Lapin <slapinid@gmail.com>
|
From: Sergey Lapin <slapinid@gmail.com>
|
||||||
Date: Thu, 20 Mar 2025 21:49:14 +0300
|
Date: Thu, 20 Mar 2025 21:49:14 +0300
|
||||||
Subject: [PATCH] Made GLES work on X11
|
Subject: [PATCH] Made GLES work on X11
|
||||||
@@ -954,7 +954,7 @@ index 0000000000..8898b53b75
|
|||||||
+#endif // CRASH_HANDLER_X11_H
|
+#endif // CRASH_HANDLER_X11_H
|
||||||
diff --git a/platform/x11es/detect.py b/platform/x11es/detect.py
|
diff --git a/platform/x11es/detect.py b/platform/x11es/detect.py
|
||||||
new file mode 100644
|
new file mode 100644
|
||||||
index 0000000000..ea55017240
|
index 0000000000..39271b3037
|
||||||
--- /dev/null
|
--- /dev/null
|
||||||
+++ b/platform/x11es/detect.py
|
+++ b/platform/x11es/detect.py
|
||||||
@@ -0,0 +1,433 @@
|
@@ -0,0 +1,433 @@
|
||||||
@@ -1367,7 +1367,7 @@ index 0000000000..ea55017240
|
|||||||
+ env.Append(CPPDEFINES=["X11_ENABLED", "UNIX_ENABLED", "GLES_ENABLED", ("_FILE_OFFSET_BITS", 64)])
|
+ env.Append(CPPDEFINES=["X11_ENABLED", "UNIX_ENABLED", "GLES_ENABLED", ("_FILE_OFFSET_BITS", 64)])
|
||||||
+
|
+
|
||||||
+ env.ParseConfig("pkg-config glesv2 --cflags --libs")
|
+ env.ParseConfig("pkg-config glesv2 --cflags --libs")
|
||||||
+ env.ParseConfig("pkg-config glx --cflags --libs")
|
+ env.ParseConfig("pkg-config egl --cflags --libs")
|
||||||
+
|
+
|
||||||
+ env.Append(LIBS=["pthread"])
|
+ env.Append(LIBS=["pthread"])
|
||||||
+
|
+
|
||||||
@@ -11423,5 +11423,5 @@ index 0000000000..aa820112d6
|
|||||||
+
|
+
|
||||||
+#endif // POWER_X11_H
|
+#endif // POWER_X11_H
|
||||||
--
|
--
|
||||||
2.34.1
|
2.39.5
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user