Added release from svn/trunk to enable osgCompute.

This commit is contained in:
Robert Osfield
2009-04-12 10:29:10 +00:00
parent 9c6f1ac45a
commit 98c3d362e5

View File

@@ -37,6 +37,9 @@ void GraphicsThread::run()
OperationThread::run();
// release operations before the thread stops working.
_operationQueue->releaseAllOperations();
if (graphicsContext)
{
graphicsContext->releaseContext();