X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fbackends%2Fopengl%2Ftexture2dmultisample_backend.cpp;h=c9faa85e99a6dfbee471356db3aa8e941cd40068;hp=71f9e138abddee50a7c157c0ef7e33b0dfda7a3a;hb=4965ad140daacd10e77b74ce9b49e98c4c4dae55;hpb=57ca8f2bd18525d80ed6ad5d3f72e57901162d55 diff --git a/source/backends/opengl/texture2dmultisample_backend.cpp b/source/backends/opengl/texture2dmultisample_backend.cpp index 71f9e138..c9faa85e 100644 --- a/source/backends/opengl/texture2dmultisample_backend.cpp +++ b/source/backends/opengl/texture2dmultisample_backend.cpp @@ -20,7 +20,7 @@ void OpenGLTexture2DMultisample::allocate() unsigned samples = static_cast(this)->samples; if(!id) - generate_id(); + create(); GLenum gl_fmt = get_gl_pixelformat(storage_fmt); if(ARB_texture_storage_multisample)