X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/418ab1e742d1da28f69f0871adc6df5f697bc7c0..e0b3b9d044746a258f93ae7c66550788d08d028e:/docs/latex/wx/glcontext.tex diff --git a/docs/latex/wx/glcontext.tex b/docs/latex/wx/glcontext.tex index cf6f8e5b28..7cc72610e3 100644 --- a/docs/latex/wx/glcontext.tex +++ b/docs/latex/wx/glcontext.tex @@ -47,9 +47,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}. +