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.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/common/image.h b/src/common/image.h
index d9da75b..44aedf1 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);
@@ -109,3 +112,4 @@ private:
//! Image data
ImageData* m_data;
};
+