diff --git a/direct/src/showbase/ShowBase.py b/direct/src/showbase/ShowBase.py index 0d711b8057..0ecee86e6a 100644 --- a/direct/src/showbase/ShowBase.py +++ b/direct/src/showbase/ShowBase.py @@ -528,9 +528,6 @@ class ShowBase(DirectObject.DirectObject): del self.winList del self.pipe - vfs = VirtualFileSystem.getGlobalPtr() - vfs.unmountAll() - def makeDefaultPipe(self, printPipeTypes = True): """ Creates the default GraphicsPipe, which will be used to make diff --git a/panda/src/glstuff/glCgShaderContext_src.cxx b/panda/src/glstuff/glCgShaderContext_src.cxx index 1a4589e854..910bf5c7c1 100644 --- a/panda/src/glstuff/glCgShaderContext_src.cxx +++ b/panda/src/glstuff/glCgShaderContext_src.cxx @@ -16,7 +16,8 @@ #if defined(HAVE_CG) && !defined(OPENGLES) -#include "Cg/cgGL.h" +#include +#include #include "pStatGPUTimer.h" diff --git a/panda/src/glstuff/glCgShaderContext_src.h b/panda/src/glstuff/glCgShaderContext_src.h index fb64d37bac..6bb0f8f43c 100644 --- a/panda/src/glstuff/glCgShaderContext_src.h +++ b/panda/src/glstuff/glCgShaderContext_src.h @@ -21,8 +21,6 @@ #include "shaderContext.h" #include "deletedChain.h" -#include - class CLP(GraphicsStateGuardian); ////////////////////////////////////////////////////////////////////