diff options
author | Mitchell Stokes <mogurijin@gmail.com> | 2011-08-30 21:30:35 +0400 |
---|---|---|
committer | Mitchell Stokes <mogurijin@gmail.com> | 2011-08-30 21:30:35 +0400 |
commit | 2475ad0ab9b9dd40215d9c80a320247a1a7d9eaa (patch) | |
tree | a6f706da04063fef7eac8966cd8fe1cb28eae0c1 /intern | |
parent | c6f994062e4f871aa2f81c289b49ac7245b3056c (diff) |
When creating a multisample window for Win32, the first context created, which checks for multisample support, was never being deleted.
Diffstat (limited to 'intern')
-rw-r--r-- | intern/ghost/intern/GHOST_WindowWin32.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/intern/ghost/intern/GHOST_WindowWin32.cpp b/intern/ghost/intern/GHOST_WindowWin32.cpp index 0c8c0adf041..d9a495ad0f4 100644 --- a/intern/ghost/intern/GHOST_WindowWin32.cpp +++ b/intern/ghost/intern/GHOST_WindowWin32.cpp @@ -866,6 +866,8 @@ GHOST_TSuccess GHOST_WindowWin32::installDrawingContext(GHOST_TDrawingContextTyp { // Make sure we don't screw up the context + if (m_hGlRc == s_firsthGLRc) + s_firsthGLRc = NULL; m_drawingContextType = GHOST_kDrawingContextTypeOpenGL; removeDrawingContext(); |