Skip to content

Conversation

eboutin
Copy link

@eboutin eboutin commented Jan 6, 2023

librw supports OpenGL3 but only when the windows & OpenGL context creation is handled by GLFW or SDL2.

This commit adds a new "extgl3" GfxLib for the OpenGL3 driver, on top of GLFW and SDL2.

This allows to embed librw in graphics frameworks such as wxWidgets or Qt which provide OpenGL window & context creation without using GLFW nor SDL2.

An example of this usage is provided here: https://github.com/kaalkuul/librw-wxWidgets-starter
This starter kit demonstrates how to embed librw within a wxWidgets application (using the original fork for this PR).

This commit should also allow work in Qt GL windows but this has not been tested yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant