From 4fad749cdfdd2036e76801493982657ddae47738 Mon Sep 17 00:00:00 2001 From: TheBrokenRail Date: Sat, 19 Jun 2021 14:37:12 -0400 Subject: [PATCH] Fix Blank Screen On Twister OS --- VERSION | 2 +- debian/client-arm | 2 +- debian/client-x86_64 | 2 +- docs/CHANGELOG.md | 7 +++++++ docs/README.md | 1 + media-layer/core/src/media.c | 2 ++ 6 files changed, 13 insertions(+), 3 deletions(-) create mode 100644 docs/CHANGELOG.md diff --git a/VERSION b/VERSION index 227cea21..38f77a65 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -2.0.0 +2.0.1 diff --git a/debian/client-arm b/debian/client-arm index 9ef83960..16e1e55c 100644 --- a/debian/client-arm +++ b/debian/client-arm @@ -4,4 +4,4 @@ Maintainer: TheBrokenRail Description: Fun with Blocks Homepage: https://www.minecraft.net/en-us/edition/pi Architecture: armhf -Depends: zenity, libgles1, libglfw3 | libglfw3-wayland, libfreeimage3 +Depends: zenity, libgles1, libegl1, libglfw3 | libglfw3-wayland, libfreeimage3 diff --git a/debian/client-x86_64 b/debian/client-x86_64 index 88924093..acbd2a38 100644 --- a/debian/client-x86_64 +++ b/debian/client-x86_64 @@ -4,4 +4,4 @@ Maintainer: TheBrokenRail Description: Fun with Blocks Homepage: https://www.minecraft.net/en-us/edition/pi Architecture: amd64 -Depends: zenity, libgles1, libglfw3 | libglfw3-wayland, libfreeimage3, libc6-armhf-cross, libstdc++6-armhf-cross, qemu-user-static +Depends: zenity, libgles1, libegl1, libglfw3 | libglfw3-wayland, libfreeimage3, libc6-armhf-cross, libstdc++6-armhf-cross, qemu-user-static diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md new file mode 100644 index 00000000..839eab06 --- /dev/null +++ b/docs/CHANGELOG.md @@ -0,0 +1,7 @@ +# Changelog + +**2.0.1** +* Fix Blank Screen On Twister OS + +**2.0.0** +* Major Rewrite diff --git a/docs/README.md b/docs/README.md index f433da54..1231fd32 100644 --- a/docs/README.md +++ b/docs/README.md @@ -7,3 +7,4 @@ * [View Building](BUILDING.md) * [View Architecture](ARCHITECTURE.md) * [View Command Line Arguments](COMMAND_LINE.md) +* [View Changelog](CHANGELOG.md) diff --git a/media-layer/core/src/media.c b/media-layer/core/src/media.c index 46336d32..e4e93d8e 100644 --- a/media-layer/core/src/media.c +++ b/media-layer/core/src/media.c @@ -188,6 +188,8 @@ void SDL_WM_SetCaption(const char *title, __attribute__((unused)) const char *ic glfwWindowHint(GLFW_CLIENT_API, GLFW_OPENGL_ES_API); glfwWindowHint(GLFW_CONTEXT_VERSION_MAJOR, 1); glfwWindowHint(GLFW_CONTEXT_VERSION_MINOR, 1); + // Use EGL + glfwWindowHint(GLFW_CONTEXT_CREATION_API, GLFW_EGL_CONTEXT_API); // Extra Settings glfwWindowHint(GLFW_AUTO_ICONIFY, GLFW_FALSE); glfwWindowHint(GLFW_ALPHA_BITS, 0); // Fix Transparent Window On Wayland