diff --git a/panda/src/wgldisplay/wglGraphicsBuffer.cxx b/panda/src/wgldisplay/wglGraphicsBuffer.cxx index def16d8b23..38550e29de 100644 --- a/panda/src/wgldisplay/wglGraphicsBuffer.cxx +++ b/panda/src/wgldisplay/wglGraphicsBuffer.cxx @@ -16,6 +16,7 @@ #include "wglGraphicsPipe.h" #include "config_wgldisplay.h" #include "glgsg.h" +#include "wglGraphicsStateGuardian.h" #include "pStatTimer.h" #include diff --git a/panda/src/wgldisplay/wglGraphicsPipe.cxx b/panda/src/wgldisplay/wglGraphicsPipe.cxx index fbfa17a339..a61819829b 100644 --- a/panda/src/wgldisplay/wglGraphicsPipe.cxx +++ b/panda/src/wgldisplay/wglGraphicsPipe.cxx @@ -17,6 +17,7 @@ #include "config_windisplay.h" #include "wglGraphicsWindow.h" #include "wglGraphicsBuffer.h" +#include "wglGraphicsStateGuardian.h" typedef enum {Software, MCD, ICD} OGLDriverType; diff --git a/panda/src/wgldisplay/wglGraphicsStateGuardian.cxx b/panda/src/wgldisplay/wglGraphicsStateGuardian.cxx index b4b9f5f157..575b79931d 100644 --- a/panda/src/wgldisplay/wglGraphicsStateGuardian.cxx +++ b/panda/src/wgldisplay/wglGraphicsStateGuardian.cxx @@ -13,7 +13,9 @@ //////////////////////////////////////////////////////////////////// #include "wglGraphicsStateGuardian.h" +#include "config_wgldisplay.h" #include "wglGraphicsBuffer.h" +#include "wglGraphicsPipe.h" #include "string_utils.h" TypeHandle wglGraphicsStateGuardian::_type_handle; diff --git a/panda/src/wgldisplay/wglGraphicsWindow.cxx b/panda/src/wgldisplay/wglGraphicsWindow.cxx index 43a3d5a480..bf724f3a5f 100644 --- a/panda/src/wgldisplay/wglGraphicsWindow.cxx +++ b/panda/src/wgldisplay/wglGraphicsWindow.cxx @@ -18,6 +18,7 @@ #include "wglGraphicsPipe.h" #include "pStatTimer.h" #include "glgsg.h" +#include "wglGraphicsStateGuardian.h" #include