From f56dfb61961b16e19e22138197e54e9ba145be1a Mon Sep 17 00:00:00 2001 From: Sam Edwards Date: Sun, 15 Nov 2015 22:54:26 -0800 Subject: [PATCH] general: Fix missing includes on Windows. --- panda/src/wgldisplay/wglGraphicsBuffer.cxx | 1 + panda/src/wgldisplay/wglGraphicsPipe.cxx | 1 + panda/src/wgldisplay/wglGraphicsStateGuardian.cxx | 2 ++ panda/src/wgldisplay/wglGraphicsWindow.cxx | 1 + 4 files changed, 5 insertions(+) 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