Commit 9f234899 authored by Miikka Heikkinen's avatar Miikka Heikkinen Committed by Pasi Keränen
Browse files

Fix readPixels to work with custom framebuffer.


ReadPixels always read from renderFbo if context had antialiasing
specified.

Also added buffer initialization to zero so pixels that fall outside
the framebuffer contain correct value.

Change-Id: I58b9fda18bc56a64346f83ccda575c758e9eaac5
Reviewed-by: default avatarTomi Korpipää <tomi.korpipaa@theqtcompany.com>
Reviewed-by: default avatarPasi Keränen <pasi.keranen@digia.com>
Showing with 98 additions and 7 deletions
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment