Описание

# ❓ForceGL
**Force your game to use a modern OpenGL version!**
ForceGL is a lightweight Minecraft mod that overrides Minecraft's default OpenGL context version and requests **OpenGL 4.6** instead of **OpenGL 3.2**.
---
## 🤨 What is ForceGL?
ForceGL modifies Minecraft's graphics initialization process and tells GLFW to create a newer OpenGL context when the game starts.
The goal is simple:
* Request **OpenGL 4.6** on supported systems
* Allow Minecraft to run on a modern OpenGL context
---
## ⚙️ How does it work?
During startup, Minecraft requests an OpenGL 3.2 context by default.
ForceGL injects into the game's window creation process and changes the requested OpenGL version to:
| Platform | Requested Version |
| --------------- | ----------------- |
| Windows / Linux | OpenGL 4.6 |
| macOS | OpenGL 4.1 | probably
If your graphics driver supports the requested version, Minecraft will run using that newer OpenGL context.
---
## 🖥️ Performance
Will this improve performance?
**Probably not.**
Minecraft's renderer is still designed around its existing rendering pipeline. Simply requesting a newer OpenGL context does not magically make the game faster.
However, some drivers may behave differently with newer contexts, so your results may vary.
---
## 📥 Installation
1. Install Fabric Loader.
2. Download ForceGL.
3. Place the mod `.jar` into your `mods` folder.
4. Launch Minecraft.
---
## 🔒 Compatibility
* Requires a GPU and driver that support the requested OpenGL version.
* Tested on a limited number of systems.
* Should work on most modern Windows and Linux machines.
* macOS is limited to OpenGL 4.1 by Apple.
---
## 💬 Notes
* ForceGL only changes the requested OpenGL version.
* No rendering optimizations are included.
* No shaders are modified.
* No performance tweaks are applied.
* No promises are made.
This mod is primarily an experiment caused by me being bored.
---
## 🤨 Troubleshooting
If Minecraft fails to start or you encounter graphical issues:
1. Remove ForceGL from your `mods` folder.
2. Start the game again.
---
## ❗ Disclaimer
This mod was created for fun and experimentation. Use it at your own risk.
If it works: awesome.
If it doesn't: remove the mod and continue playing.
Have fun!