Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
GH Action committed Mar 4, 2024
1 parent 9439f7f commit fc77a82
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sokol/c/sokol_app.h
Original file line number Diff line number Diff line change
Expand Up @@ -2596,7 +2596,7 @@ typedef struct {
PFNWGLGETEXTENSIONSSTRINGARBPROC GetExtensionsStringARB;
PFNWGLCREATECONTEXTATTRIBSARBPROC CreateContextAttribsARB;
// special case glGetIntegerv
void (*GetIntegerv)(uint32_t pname, int32_t* data);
void (WINAPI *GetIntegerv)(uint32_t pname, int32_t* data);
bool ext_swap_control;
bool arb_multisample;
bool arb_pixel_format;
Expand Down Expand Up @@ -6613,7 +6613,7 @@ _SOKOL_PRIVATE void _sapp_wgl_init(void) {
SOKOL_ASSERT(_sapp.wgl.GetCurrentDC);
_sapp.wgl.MakeCurrent = (PFN_wglMakeCurrent)(void*) GetProcAddress(_sapp.wgl.opengl32, "wglMakeCurrent");
SOKOL_ASSERT(_sapp.wgl.MakeCurrent);
_sapp.wgl.GetIntegerv = (void(*)(uint32_t, int32_t*)) GetProcAddress(_sapp.wgl.opengl32, "glGetIntegerv");
_sapp.wgl.GetIntegerv = (void(WINAPI*)(uint32_t, int32_t*)) GetProcAddress(_sapp.wgl.opengl32, "glGetIntegerv");
SOKOL_ASSERT(_sapp.wgl.GetIntegerv);

_sapp.wgl.msg_hwnd = CreateWindowExW(WS_EX_OVERLAPPEDWINDOW,
Expand Down

0 comments on commit fc77a82

Please sign in to comment.