diff options
Diffstat (limited to 'backends/graphics/opengl/gltexture.h')
-rw-r--r-- | backends/graphics/opengl/gltexture.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/backends/graphics/opengl/gltexture.h b/backends/graphics/opengl/gltexture.h index 73771fda91..9864f6816c 100644 --- a/backends/graphics/opengl/gltexture.h +++ b/backends/graphics/opengl/gltexture.h @@ -58,7 +58,7 @@ public: */ static void initGLExtensions(); - GLTexture(byte bpp, GLenum format, GLenum type); + GLTexture(byte bpp, GLenum internalFormat, GLenum format, GLenum type); virtual ~GLTexture(); /** @@ -95,12 +95,13 @@ public: /** * Set the texture filter. - * GL_NEAREST or GL_LINEAR should be passed. + * @filter the filter type, GL_NEAREST or GL_LINEAR */ void setFilter(GLint filter) { _filter = filter; } protected: const byte _bytesPerPixel; + const GLenum _internalFormat; const GLenum _glFormat; const GLenum _glType; |