Created
February 12, 2015 11:47
-
-
Save gregorycu/5704c5bf1d2266193976 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// shader.cpp | |
// line 537 | |
// void ShaderSource::onSetConstants | |
// Add the following to top of function: | |
static unsigned numLoops = 0; | |
++numLoops; | |
if ((numLoops % 200) != 0) | |
return; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment