diff options
Diffstat (limited to 'gfx/models/texture.cpp')
-rw-r--r-- | gfx/models/texture.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gfx/models/texture.cpp b/gfx/models/texture.cpp index e311937..60e4045 100644 --- a/gfx/models/texture.cpp +++ b/gfx/models/texture.cpp @@ -18,7 +18,7 @@ Texture::Texture(const Image & tex) : {
}
-Texture::Texture(GLsizei width, GLsizei height, void * data)
+Texture::Texture(GLsizei width, GLsizei height, const void * data)
{
glBindTexture(GL_TEXTURE_2D, m_texture);
|