]> git.cworth.org Git - apitrace/commit
trace: Fix alignment bug in computing image sizes.
authorJosé Fonseca <jose.r.fonseca@gmail.com>
Sun, 16 Sep 2012 01:33:07 +0000 (02:33 +0100)
committerJosé Fonseca <jose.r.fonseca@gmail.com>
Sun, 16 Sep 2012 01:33:07 +0000 (02:33 +0100)
commita3b4d63c07781b5536d008a6b78716a4aeea1813
tree4148283c82062e4de57e4e949f4f515a937b6052
parent0b65a2bc99ea926111c0ff19723bd5e2ac84827d
trace: Fix alignment bug in computing image sizes.

Match precisely what the OpenGL spec says.

Fixes the stride computation of RGB8.

Based on discussion and code from Carl Worth and Paul Berry.
helpers/glsize.hpp