فهرست منبع

new parameter should be optional for backward compatibility

David Rose 20 سال پیش
والد
کامیت
f8bf91a461
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  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(
       const string &prefix = "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);
 
   NodePath get_texture_card();