diff options
author | Karl Schultz <[email protected]> | 2002-09-12 17:05:55 +0000 |
---|---|---|
committer | Karl Schultz <[email protected]> | 2002-09-12 17:05:55 +0000 |
commit | 99683bd830b46737e83aa4adacfa0941c6e098bf (patch) | |
tree | 3e25caac91daa024a568c549f4053cc235f84cd2 | |
parent | 4991d0f9f39b3fca8458af77ad0a060e76eb5594 (diff) |
Mark destroyed context as not current. (Frank Warmerdam)
-rw-r--r-- | src/mesa/drivers/windows/wmesa.c | 5 |
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 ); } |