-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
2.8.1: Change opengl-es and add libboost dep
- Loading branch information
Showing
2 changed files
with
27 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 26 additions & 0 deletions
26
patches/version_2.8.1/0001-Set-GLAD_GLES2_USE_SYSTEM_EGL.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
From f93f8c8999db55252991fd55180140eb2e474205 Mon Sep 17 00:00:00 2001 | ||
Date: Sat, 21 Sep 2024 17:25:37 -0700 | ||
Subject: [PATCH] Set GLAD_GLES2_USE_SYSTEM_EGL | ||
|
||
--- | ||
src/libvgcode/glad/include/glad/gles2.h | 4 ++++ | ||
1 file changed, 4 insertions(+) | ||
|
||
diff --git a/src/libvgcode/glad/include/glad/gles2.h b/src/libvgcode/glad/include/glad/gles2.h | ||
index 2983e1df5..5691317c1 100644 | ||
--- a/src/libvgcode/glad/include/glad/gles2.h | ||
+++ b/src/libvgcode/glad/include/glad/gles2.h | ||
@@ -87,6 +87,10 @@ extern "C" { | ||
#endif | ||
#endif | ||
|
||
+#ifndef GLAD_GLES2_USE_SYSTEM_EGL | ||
+ #define GLAD_GLES2_USE_SYSTEM_EGL 1 | ||
+#endif | ||
+ | ||
#ifndef GLAD_PLATFORM_UWP | ||
#if defined(_MSC_VER) && !defined(GLAD_INTERNAL_HAVE_WINAPIFAMILY) | ||
#ifdef __has_include | ||
-- | ||
2.46.0 | ||
|