X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/418ab1e742d1da28f69f0871adc6df5f697bc7c0..e0976f6db35b304f16519437c9d9e2450a373783:/docs/latex/wx/glcontext.tex diff --git a/docs/latex/wx/glcontext.tex b/docs/latex/wx/glcontext.tex index cf6f8e5b28..057977aad2 100644 --- a/docs/latex/wx/glcontext.tex +++ b/docs/latex/wx/glcontext.tex @@ -15,6 +15,10 @@ was initialized. (This applies to sharing display lists among contexts analogous Note that some wxGLContext features are extremely platform-specific - its best to check your native platform's glcanvas header (on windows include/wx/msw/glcanvas.h) to see what features your native platform provides. +\wxheading{Library} + +\helpref{wxGl}{librarieslist} + \wxheading{Derived from} \helpref{wxObject}{wxobject} @@ -47,9 +51,10 @@ with equivalent attributes as {\it win}.} \membersection{wxGLContext::SetCurrent}\label{wxglcontextsetcurrent} -\func{void}{SetCurrent}{\param{const wxGLCanvas&}{ win}} +\func{void}{SetCurrent}{\param{const wxGLCanvas\&}{ win}} Makes the OpenGL state that is represented by this rendering context current with the wxGLCanvas {\it win}. Note that {\it win} can be a different wxGLCanvas window than the one that was passed to the constructor of this rendering context. -If { \it RC } is an object of type wxGLContext, the statements { \it RC.SetCurrent(win); } and { \it win.SetCurrent(RC); } are equivalent, -see \helpref{wxGLCanvas::SetCurrent}{wxglcanvassetcurrentrc}. +If { \it RC } is an object of type wxGLContext, the statements {\it RC.SetCurrent(win);} and {\it win.SetCurrent(RC);} are equivalent, +see \helpref{wxGLCanvas::SetCurrent}{wxglcanvassetcurrent}. +