build-scripts/winrtbuild.bat
author Sam Lantinga
Fri, 27 Jan 2017 21:23:27 -0800
changeset 10861 71d8f9afb690
parent 9217 e15f7d963d98
permissions -rw-r--r--
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.
     1 @ECHO OFF
     2 REM
     3 REM winrtbuild.bat: a batch file to help launch the winrtbuild.ps1
     4 REM   Powershell script, either from Windows Explorer, or through Buildbot.
     5 REM
     6 SET ThisScriptsDirectory=%~dp0
     7 SET PowerShellScriptPath=%ThisScriptsDirectory%winrtbuild.ps1
     8 PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& '%PowerShellScriptPath%'";