aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui.cpp
diff options
context:
space:
mode:
authorClyne Sullivan <tullivan99@gmail.com>2016-05-02 08:49:17 -0400
committerClyne Sullivan <tullivan99@gmail.com>2016-05-02 08:49:17 -0400
commit6a728a46d837384074228959d6330ba29e03aee0 (patch)
tree9a4deef7aea5c6b936eebdb01d8538744030d116 /src/ui.cpp
parentafa34b3140979874d46a362e83dc0d1eebd137eb (diff)
arena/page fixes
Diffstat (limited to 'src/ui.cpp')
-rw-r--r--src/ui.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui.cpp b/src/ui.cpp
index b94b0f3..bedccab 100644
--- a/src/ui.cpp
+++ b/src/ui.cpp
@@ -605,8 +605,8 @@ namespace ui {
}
- void drawPage(std::string path) {
- pageTex = Texture::loadTexture(path);
+ void drawPage(const GLuint& tex) {
+ pageTex = tex;
pageTexReady = true;
}