From 2475ad0ab9b9dd40215d9c80a320247a1a7d9eaa Mon Sep 17 00:00:00 2001 From: Mitchell Stokes Date: Tue, 30 Aug 2011 17:30:35 +0000 Subject: When creating a multisample window for Win32, the first context created, which checks for multisample support, was never being deleted. --- intern/ghost/intern/GHOST_WindowWin32.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'intern/ghost') 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(); -- cgit v1.2.3