gameclosure/webgl-2d — pull request #29 by sinisterchipmunk (2012-07-12 23:35:49+00:00)
Title: Resolve rendering issue where screen turns white after first frame

I don't know how common or widespread this issue is; I found out about it via a [SO](http://stackoverflow.com/questions/11418757/javascript-library-webgl-2d-animation-not-working) question. But, it can be duplicated on my own hardware, so I fixed it.

The color mask `(1, 1, 1, 0)` seems to be the source of the issue, but I don't particularly understand why. Simply removing the color mask seems to have no ill effect, so that's all this pull request does.

This pull request also includes an example file which reproduces the effect, and which works properly after applying the change.