Add accessors for texture width/height

This commit is contained in:
Henrik Rydgard 2013-04-01 12:32:19 +02:00
parent 79e14282ec
commit 4b0631ccc5

View File

@ -36,6 +36,9 @@ public:
static void Unbind(int stage = -1);
int Width() const { return width_; }
int Height() const { return height_; }
private:
bool LoadXOR(); // Loads a placeholder texture.