Fix Blank Screen On Twister OS

This commit is contained in:
TheBrokenRail 2021-06-19 14:37:12 -04:00
parent f84ffebf8c
commit 4fad749cdf
6 changed files with 13 additions and 3 deletions

View File

@ -1 +1 @@
2.0.0
2.0.1

2
debian/client-arm vendored
View File

@ -4,4 +4,4 @@ Maintainer: TheBrokenRail <connor24nolan@live.com>
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

View File

@ -4,4 +4,4 @@ Maintainer: TheBrokenRail <connor24nolan@live.com>
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

7
docs/CHANGELOG.md Normal file
View File

@ -0,0 +1,7 @@
# Changelog
**2.0.1**
* Fix Blank Screen On Twister OS
**2.0.0**
* Major Rewrite

View File

@ -7,3 +7,4 @@
* [View Building](BUILDING.md)
* [View Architecture](ARCHITECTURE.md)
* [View Command Line Arguments](COMMAND_LINE.md)
* [View Changelog](CHANGELOG.md)

View File

@ -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