Skip to content

BoyOrigin/glfw-wayland

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

glfw-wayland

A GLFW Fork that runs on Wayland Natively over X11 with more compatible features just to play Minecraft.

NOTE: Only work for LWJGL3 just because LWJGL2 doesn't use GLFW in the first place. And yes, this is Linux only because duh...

Initial Setup

Clone this repository. Once you've cloned it, you can setup the patches:

git clone https://github.com/BoyOrigin/glfw-wayland.git
cd glfw-wayland
./applyPatches.sh

This will set up the entire project, as once it's done everything will be ready to go!

Compiling

In order to build glfw, same guide from the compilation guide still applied to this.

Use it on Minecraft

In order to use it on Minecraft, just add this to your VM options. -Dorg.lwjgl.glfw.libname=/your_download_path/libglfw.so.3.4

To use the patched GLFW library with Nvidia GPUs the __GL_THREADED_OPTIMIZATIONS environment variable needs to be set to 0.

The shared library is downloadable from our release page