]> git.tdb.fi Git - libs/gl.git/commit
Have get_component_size return zero for unsized formats
authorMikko Rasa <tdb@tdb.fi>
Thu, 3 Nov 2016 08:27:50 +0000 (10:27 +0200)
committerMikko Rasa <tdb@tdb.fi>
Thu, 3 Nov 2016 08:27:50 +0000 (10:27 +0200)
commit21eaad595acb574d81bad5140d24b570da4f9785
treef990bc0767df71bb6ece59691abb286b97daeee7
parentcdf928f03f4d8383b8fa978abc4c255a850ec061
Have get_component_size return zero for unsized formats

Get_pixel_size still assumes a component size of at least one byte.
source/pixelformat.cpp