diff options
Diffstat (limited to 'src/opengl1graphics.cpp')
-rw-r--r-- | src/opengl1graphics.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/opengl1graphics.cpp b/src/opengl1graphics.cpp index ae46846c9..1f08443cc 100644 --- a/src/opengl1graphics.cpp +++ b/src/opengl1graphics.cpp @@ -129,6 +129,7 @@ bool OpenGL1Graphics::setVideoMode(int w, int h, int bpp, bool fs, { logger->log1("using GL_ARB_texture_rectangle"); Image::mTextureType = GL_TEXTURE_RECTANGLE_ARB; + glEnable(GL_TEXTURE_RECTANGLE_ARB); glGetIntegerv(GL_MAX_RECTANGLE_TEXTURE_SIZE_ARB, &texSize); Image::mTextureSize = texSize; logger->log("OpenGL texture size: %d pixels (rectangle textures)", |