Explorar o código

make share_with be an optional parameter

David Rose %!s(int64=21) %!d(string=hai) anos
pai
achega
09edca7eef
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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);