]> git.tdb.fi Git - libs/gl.git/blobdiff - source/backends/opengl/texture3d_backend.cpp
Rename OpenGLTexture::generate_id to create
[libs/gl.git] / source / backends / opengl / texture3d_backend.cpp
index 1197405ee367ff192690437f37ccca89b677000f..d2c1088e293964b10deb45874f083063146aea88 100644 (file)
@@ -27,7 +27,7 @@ void OpenGLTexture3D::allocate()
        unsigned levels = static_cast<const Texture3D *>(this)->levels;
 
        if(!id)
-               generate_id();
+               create();
 
        GLenum gl_fmt = get_gl_pixelformat(storage_fmt);
        if(ARB_texture_storage)