]> git.tdb.fi Git - libs/gl.git/blobdiff - source/backends/opengl/texturecube_backend.cpp
Rename OpenGLTexture::generate_id to create
[libs/gl.git] / source / backends / opengl / texturecube_backend.cpp
index cc8945896fea9bdaad6763e4eedda5af50df859c..39169612a450b46b1216cdea9f22c1450475e42e 100644 (file)
@@ -32,7 +32,7 @@ void OpenGLTextureCube::allocate()
        unsigned levels = static_cast<const TextureCube *>(this)->levels;
 
        if(!id)
-               generate_id();
+               create();
 
        GLenum gl_fmt = get_gl_pixelformat(storage_fmt);
        if(ARB_texture_storage)