summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/OGL/RasterFont.cpp
diff options
context:
space:
mode:
authorTillmann Karras <tilkax@gmail.com>2015-05-25 15:14:20 +0200
committerTillmann Karras <tilkax@gmail.com>2015-05-27 15:05:49 +0200
commit285ac34bf3bada1737dd1e0a2f30af575435828e (patch)
tree7db90308460310477651ce9acab37436f7bbb9eb /Source/Core/VideoBackends/OGL/RasterFont.cpp
parenta26cf63783df47b6f70e9ff9987e1a37c92a2e38 (diff)
OGL: use GL_TEXTURE* constants
Diffstat (limited to 'Source/Core/VideoBackends/OGL/RasterFont.cpp')
-rw-r--r--Source/Core/VideoBackends/OGL/RasterFont.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoBackends/OGL/RasterFont.cpp b/Source/Core/VideoBackends/OGL/RasterFont.cpp
index d436f9ce25..ebc303c9d6 100644
--- a/Source/Core/VideoBackends/OGL/RasterFont.cpp
+++ b/Source/Core/VideoBackends/OGL/RasterFont.cpp
@@ -142,7 +142,7 @@ RasterFont::RasterFont()
{
// generate the texture
glGenTextures(1, &texture);
- glActiveTexture(GL_TEXTURE0+8);
+ glActiveTexture(GL_TEXTURE8);
glBindTexture(GL_TEXTURE_2D, texture);
std::vector<u32> texture_data(CHAR_WIDTH * CHAR_COUNT * CHAR_HEIGHT);
for (int y = 0; y < CHAR_HEIGHT; y++)