summaryrefslogtreecommitdiffstats
path: root/src/common/image.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/image.h')
-rw-r--r--src/common/image.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/common/image.h b/src/common/image.h
index d9da75b..f0b50a3 100644
--- a/src/common/image.h
+++ b/src/common/image.h
@@ -94,6 +94,9 @@ public:
//! Returns the precise color at given pixel
Gfx::IntColor GetPixelInt(Math::IntPoint pixel);
+ //! Pads the image to nearest power of 2 dimensions
+ void PadToNearestPowerOfTwo();
+
//! Loads an image from the specified file
bool Load(const std::string &fileName);