I want to use the OpenGL library, GLFW, to render a window but also want to use WinAPi to create controls and handle events. Is there any way to do this ?
I tried searching(googling) for “using glfw and winapi” but that did no yield any results.
The only page I found that did what I wanted was this but the page seems to be outdated as GLFW_WINPAR doesn’t exist. Is there any way to do what I want, or do I have to use “Vanilla” OpenGL.
I want to use the OpenGL library, GLFW, to render a window but also
Share
There’s not much benefit in using GLFW if you intend to use the native Win32 API as well. The whole point of GLFW is hiding the system APIs below.
Creating a OpenGL window using the Win32 alone not that hard at all: