]> git.saurik.com Git - wxWidgets.git/commit - samples/opengl/penguin/penguin.cpp
Fixes to OpenGL samples to avoid asserts/crashes.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 27 Aug 2011 12:13:13 +0000 (12:13 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 27 Aug 2011 12:13:13 +0000 (12:13 +0000)
commit97f851007c07fa09d5ee9b3e26a46fe29f2575b8
tree1b3ff86b48aba6e76d2c27a309d100f679f61d9b
parent7f1b6179cd5d14910f5e838109f123cc027b40dd
Fixes to OpenGL samples to avoid asserts/crashes.

Don't call wxGLCanvas::SetCurrent() when the window is not shown.

Closes #13424.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@68909 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
samples/opengl/cube/cube.cpp
samples/opengl/isosurf/isosurf.cpp
samples/opengl/penguin/penguin.cpp