]> git.tdb.fi Git - libs/gl.git/blobdiff - source/backends/opengl/texture2d_backend.cpp
Use set_manager instead of passing the manager to the constructor
[libs/gl.git] / source / backends / opengl / texture2d_backend.cpp
index c47600cf9402f99a0a41f41df9c43f753ccbfcde..2f7e503b7d42a9aec7e8055a38fa2446e5805a0a 100644 (file)
@@ -31,8 +31,8 @@ public:
 };
 
 
-OpenGLTexture2D::OpenGLTexture2D(ResourceManager *m):
-       Texture(GL_TEXTURE_2D, m)
+OpenGLTexture2D::OpenGLTexture2D():
+       Texture(GL_TEXTURE_2D)
 { }
 
 void OpenGLTexture2D::allocate()