visualtest/launch_harness.sh
author Sam Lantinga
Fri, 27 Jan 2017 21:23:27 -0800
changeset 10861 71d8f9afb690
parent 7924 fcb86d323770
permissions -rwxr-xr-x
Fixed bug 3569 - GL_UpdateViewport leaves PROJECTION matrix selected

Tom Seddon

GL_ActivateRenderer may call GL_UpdateViewport, which leaves the GL_PROJECTION matrix selected. But after GL_ResetState, the GL_MODELVIEW matrix is selected, suggesting that's the intended default state.

It seems at least like these should be consistent. Presumably GL_UpdateViewport should be doing a glMatrixMode(GL_MODELVIEW) before it finishes.
icculus@7924
     1
#!/bin/bash
icculus@7924
     2
./testharness.exe --config testsprite2_crashtest.config > testrun.log 2>&1
icculus@7924
     3
if [ "$?" != "0" ]; then
icculus@7924
     4
  echo TEST RUN FAILED (see testrun.log)
icculus@7924
     5
  # report error code to CI
icculus@7924
     6
fi