Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - CharlvdM

Pages: [1]
Window / OpenGL entry points from OpenGL32.dll not working
« on: April 06, 2023, 10:19:30 am »
The changes in commit 21af6fecf142882b08e1f2aa006bb406a3631e96 causes my project to throw an exception when I try to render a window. Specifically, the glGetInegerv function in GLExtensions.cpp in the ensureExtensionsInit function attempts to dereference a null pointer. At the start of the call stack, I try to construct a sf::RenderWindow.

I am able to fix the problem by reverting the changes of the mentioned commit in the WglContext.cpp file. Unfortunately, my knowledge of OpenGL is too limited to precisely understand the cause of the problem, hence this post.

Note: I compile SFML as a static submodule (the BUILD_SHARED_LIBS flag is set to FALSE in my CMakeLists.txt).

Pages: [1]