Browse Source

gobj: Include, don't forward-declare, BamCacheRecord in shader.h

Closes #346
Sam Edwards 7 years ago
parent
commit
b8bc1bb5e9
1 changed files with 1 additions and 2 deletions
  1. 1 2
      panda/src/gobj/shader.h

+ 1 - 2
panda/src/gobj/shader.h

@@ -33,6 +33,7 @@
 #include "pta_LVecBase2.h"
 #include "epvector.h"
 #include "asyncFuture.h"
+#include "bamCacheRecord.h"
 
 #ifdef HAVE_CG
 // I don't want to include the Cg header file into panda as a whole.  Instead,
@@ -42,8 +43,6 @@ typedef struct _CGprogram   *CGprogram;
 typedef struct _CGparameter *CGparameter;
 #endif
 
-class BamCacheRecord;
-
 /**
 
  */