diff --git a/panda/src/dxgsg9/wdxGraphicsBuffer9.cxx b/panda/src/dxgsg9/wdxGraphicsBuffer9.cxx index c0059be6bd..09bab17a26 100644 --- a/panda/src/dxgsg9/wdxGraphicsBuffer9.cxx +++ b/panda/src/dxgsg9/wdxGraphicsBuffer9.cxx @@ -18,6 +18,7 @@ #include "wdxGraphicsPipe9.h" #include "wdxGraphicsBuffer9.h" +#include "dxGraphicsStateGuardian9.h" #include "pStatTimer.h" diff --git a/panda/src/dxgsg9/wdxGraphicsBuffer9.h b/panda/src/dxgsg9/wdxGraphicsBuffer9.h index e270b3ddac..08c41ee9a6 100644 --- a/panda/src/dxgsg9/wdxGraphicsBuffer9.h +++ b/panda/src/dxgsg9/wdxGraphicsBuffer9.h @@ -22,7 +22,7 @@ #include "pandabase.h" #include "graphicsBuffer.h" #include "dxgsg9base.h" - +#include "dxTextureContext9.h" //////////////////////////////////////////////////////////////////// // Class : wdxGraphicsBuffer9