summary refs log tree commit diff stats
path: root/src/renderer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/renderer.cpp')
-rw-r--r--src/renderer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/renderer.cpp b/src/renderer.cpp index 64c9fd0..c2b37d2 100644 --- a/src/renderer.cpp +++ b/src/renderer.cpp
@@ -513,7 +513,7 @@ Texture::Texture(const char* filename)
513 glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_CLAMP_TO_EDGE); 513 glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_CLAMP_TO_EDGE);
514} 514}
515 515
516Texture::Texture(Texture& tex) 516Texture::Texture(const Texture& tex)
517{ 517{
518 if (!rendererInitialized) 518 if (!rendererInitialized)
519 { 519 {