]> git.tdb.fi Git - libs/gl.git/commit
Move the whole-texture image call and raw data loading to base class
authorMikko Rasa <tdb@tdb.fi>
Mon, 1 Nov 2021 12:42:49 +0000 (14:42 +0200)
committerMikko Rasa <tdb@tdb.fi>
Mon, 1 Nov 2021 18:00:58 +0000 (20:00 +0200)
commit260ecf71f02d4b3397e4f6c80d96a7c4ba473185
treef5915162582848d76dd15f6c31c85232a0ba2519
parenta7948dfc4192efbbf2b5ca9258fd7e72b971f8ea
Move the whole-texture image call and raw data loading to base class

This reduces duplication in the loading code and promotes uniform
behaviour across the different texture classes.
12 files changed:
source/core/texture.cpp
source/core/texture.h
source/core/texture1d.cpp
source/core/texture1d.h
source/core/texture2d.cpp
source/core/texture2d.h
source/core/texture2dmultisample.cpp
source/core/texture2dmultisample.h
source/core/texture3d.cpp
source/core/texture3d.h
source/core/texturecube.cpp
source/core/texturecube.h