]> git.tdb.fi Git - libs/gl.git/commit - source/core/texture2d.cpp
Always delay texture creation until it is allocated
authorMikko Rasa <tdb@tdb.fi>
Thu, 7 Oct 2021 08:19:44 +0000 (11:19 +0300)
committerMikko Rasa <tdb@tdb.fi>
Thu, 7 Oct 2021 12:43:22 +0000 (15:43 +0300)
commit57ca8f2bd18525d80ed6ad5d3f72e57901162d55
tree3d197ffbc27baca7b39ef20e57a6e6e3a0fdbb3d
parent5a01404e40717c6c2cc389ed8357713e1f216f07
Always delay texture creation until it is allocated

This allows greateer flexibility with setting a resource manager.
source/backends/opengl/texture1d_backend.cpp
source/backends/opengl/texture2d_backend.cpp
source/backends/opengl/texture2dmultisample_backend.cpp
source/backends/opengl/texture3d_backend.cpp
source/backends/opengl/texture_backend.cpp
source/backends/opengl/texture_backend.h
source/backends/opengl/texturecube_backend.cpp
source/core/texture.cpp
source/core/texture2d.cpp