Bug in example code on opengl.org

Hi.
I was reading example code here:
https://www.opengl.org/archives/resources/code/samples/win32_tutorial/
And I try to compile this one:
https://www.opengl.org/archives/resources/code/samples/win32_tutorial/minimal.c
In my Visual Studio it doesn’t work.
Order of arguments in ReleaseDC is reversed. It should be ReleaseDC(hWnd, hDC);

I didn’t found any email to support near thouse tutorials. Only link to this forum.
And I thnk that Khronos owns opengl.org, so I’m guessing it’s right place to report this bug.

This is the right place for it, but that stuff is archived for a reason. It is wildly outdated, and I rather doubt that anybody is actively maintaining the stuff there. Think of it as a snapshot of old resources from well over a decade ago.

OK.
Thank you for your replay.

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.