test-cogl-readpixels: Reset the viewport and matrices
authorNeil Roberts <neil@linux.intel.com>
Thu, 6 May 2010 13:18:32 +0000 (14:18 +0100)
committerNeil Roberts <neil@linux.intel.com>
Thu, 6 May 2010 13:18:32 +0000 (14:18 +0100)
commit61ae7c6df72a802a06da934623aa97d71e562b43
tree1078a42272d68c61cc263e7ec34b925662e46c64
parentb9c7051484f062f958b8e3ddc333e3b0c3509acf
test-cogl-readpixels: Reset the viewport and matrices

The on_paint function for test-cogl-readpixels tries to temporarily
set the projection, modelview and viewport to its own values. However
it was never restoring the saved values so it could affect the results
of subsequent tests.
tests/conform/test-cogl-readpixels.c