Update note about enabling OpenGL support on Windows

This commit is contained in:
PB
2021-05-05 20:56:05 +02:00
parent 0585c96a3b
commit 6716fcd097

View File

@@ -772,11 +772,10 @@ enum
On those platforms which use a configure script (e.g. Linux and macOS) On those platforms which use a configure script (e.g. Linux and macOS)
OpenGL support is automatically enabled if the relative headers and OpenGL support is automatically enabled if the relative headers and
libraries are found. libraries are found.
To switch it on under the other platforms (e.g. Windows), you need to edit On Windows, OpenGL support is enabled by default (@c wxUSE_GLCANVAS set
the @c setup.h file and set @c wxUSE_GLCANVAS to @c 1 and then also pass to @c 1 in the @c setup.h file). If your program links with wxWidgets
@c USE_OPENGL=1 to the make utility. You may also need to add @c opengl32.lib statically, you need to add @c opengl32.lib (and @c glu32.lib for old
(and @c glu32.lib for old OpenGL versions) to the list of the libraries OpenGL versions) to the list of the libraries your program is linked with.
your program is linked with.
@library{wxgl} @library{wxgl}
@category{gl} @category{gl}