Browse Source

make share_with be an optional parameter

David Rose 21 years ago
parent
commit
09edca7eef
1 changed files with 1 additions and 1 deletions
  1. 1 1
      panda/src/display/graphicsEngine.h

+ 1 - 1
panda/src/display/graphicsEngine.h

@@ -75,7 +75,7 @@ PUBLISHED:
   INLINE PT(GraphicsStateGuardian) make_gsg(GraphicsPipe *pipe);
   PT(GraphicsStateGuardian) make_gsg(GraphicsPipe *pipe,
                                      const FrameBufferProperties &properties,
-                                     GraphicsStateGuardian *share_with);
+                                     GraphicsStateGuardian *share_with = NULL);
 
   GraphicsWindow *make_window(GraphicsStateGuardian *gsg, const string &name,
                               int sort);