Browse Source

Mark destroyed context as not current. (Frank Warmerdam)

tags/mesa_4_1
Karl Schultz 23 years ago
parent
commit
99683bd830
1 changed files with 4 additions and 1 deletions
  1. 4
    1
      src/mesa/drivers/windows/wmesa.c

+ 4
- 1
src/mesa/drivers/windows/wmesa.c View File

@@ -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 );
}



Loading…
Cancel
Save