Browse Source

new parameter should be optional for backward compatibility

David Rose 20 years ago
parent
commit
f8bf91a461
1 changed files with 1 additions and 1 deletions
  1. 1 1
      panda/src/display/graphicsOutput.h

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

@@ -160,7 +160,7 @@ PUBLISHED:
   INLINE Filename save_screenshot_default(
   INLINE Filename save_screenshot_default(
       const string &prefix = "screenshot");
       const string &prefix = "screenshot");
   INLINE bool save_screenshot(
   INLINE bool save_screenshot(
-      const Filename &filename, const string &image_comment);
+      const Filename &filename, const string &image_comment = "");
   INLINE bool get_screenshot(PNMImage &image);
   INLINE bool get_screenshot(PNMImage &image);
 
 
   NodePath get_texture_card();
   NodePath get_texture_card();