]> git.tdb.fi Git - libs/gl.git/commit
Refactor uploading texture data from a buffer
authorMikko Rasa <tdb@tdb.fi>
Thu, 30 Sep 2021 11:50:19 +0000 (14:50 +0300)
committerMikko Rasa <tdb@tdb.fi>
Thu, 30 Sep 2021 11:54:39 +0000 (14:54 +0300)
commitb09f265880a3a932441091b0f3822b06c112c595
treec30693d78c811eb5d7eac5970fb35e643c3ff0b1
parent8b3e51aeff0e22d29a34772c77b8647108f58677
Refactor uploading texture data from a buffer

This allows getting rid of Buffer::get_id() and using a friend
declaration instead.
source/core/buffer.h
source/core/texture2d.cpp
source/core/texture2d.h