X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b7ea712cc26f4289211f4a24e308f40ff6445991..598e55d7143d4fca6cd7e2562cff5310671b7cd3:/docs/latex/wx/glcontext.tex diff --git a/docs/latex/wx/glcontext.tex b/docs/latex/wx/glcontext.tex index 692288e9ac..3a2db6fa03 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}{wxglcanvassetcurrent_rc}. +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}. +