]> git.tdb.fi Git - libs/gl.git/commitdiff
Expand the PixelFormat conversion API
authorMikko Rasa <tdb@tdb.fi>
Thu, 3 Nov 2016 10:50:35 +0000 (12:50 +0200)
committerMikko Rasa <tdb@tdb.fi>
Thu, 3 Nov 2016 11:00:43 +0000 (13:00 +0200)
Get_sized_pixelformat now takes an explicit size parameter.  The decision
between 16-bit and 32-bit depth component formats has been moved to
Texture::set_internal_format.

Get_unsized_pixelformat was added as an intermediate step for
get_base_pixelformat.  It preserves sRGB information.


No differences found