From 6da281bea13fbc2c8772bdc2875c07b7b0ef0b9c Mon Sep 17 00:00:00 2001
From: Tim Felgentreff <timfelgentreff@gmail.com>
Date: Tue, 15 Mar 2022 23:21:40 +0100
Subject: [PATCH] allow grayscale graphic loading

---
 src/tolua/video.pkg | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/tolua/video.pkg b/src/tolua/video.pkg
index eb81d81d8..d96e54261 100644
--- a/src/tolua/video.pkg
+++ b/src/tolua/video.pkg
@@ -26,7 +26,7 @@ public:
 	static CGraphic *ForceNew(const std::string file, int w = 0, int h = 0);
 	static CGraphic *Get(const std::string file);
 	static void Free(CGraphic *);
-	void Load();
+	void Load(bool grayscale = false);
 	void Resize(int w, int h);
         void SetPaletteColor(int idx, int r, int g, int b);
 };