Skip to content

Migrate from LWJGL 3

squid233 edited this page Jan 3, 2025 · 7 revisions

Why OverrunGL

OverrunGL uses the FFM API and developers are usually safe to play with the memory. You can also use a larger memory space (expanding to long range).

Migrating

This page introduced how to migrate to OverrunGL.

Supported Bindings

Before migrating, you should make sure that you used only the supported bindings for OverrunGL.

If you are interested in adding your own binding, you can fork this repository and ask for help.

JDK Requirements

OverrunGL requires at least JDK 23 (current).

Moving Dependencies

Use the customizer and select the modules you need.

Moving Usages

There are some major changes of invoking native functions. Please check the OpenGL Guide page.