aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/windows/wmesa.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/drivers/windows/wmesa.c')
-rw-r--r--src/mesa/drivers/windows/wmesa.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mesa/drivers/windows/wmesa.c b/src/mesa/drivers/windows/wmesa.c
index 040dbd16da8..77c800f2b56 100644
--- a/src/mesa/drivers/windows/wmesa.c
+++ b/src/mesa/drivers/windows/wmesa.c
@@ -1,4 +1,4 @@
-/* $Id: wmesa.c,v 1.34 2002/08/28 18:26:38 kschultz Exp $ */
+/* $Id: wmesa.c,v 1.35 2002/09/12 17:05:55 kschultz Exp $ */
/*
* Windows (Win32) device driver for Mesa 3.4
@@ -1404,6 +1404,9 @@ void WMesaDestroyContext( void )
if(parallelMachine)
PRDestroyRenderBuffer();
#endif
+
+ // Destroyed context no longer valid
+ WMesaMakeCurrent( NULL );
}