jfontan/glsl-sandbox — pull request #8 by emackey (2012-03-14 18:54:25+00:00)
Title: Fixed the black bars seen on Mac

This patch should make shaders full-screen again, horray! This was a strange issue where the Mac was assigning vertex attribute locations differently from other platforms (Win/Linux/Android). As a result of the mixup, Mac users saw the top and bottom of the window turn black, or would see the shader in a tiny sub-window of the available area. Thumbnails were likewise getting black bars.

The vertex attributes are tracked separately now, so the Mac's attribute location assignments are properly handled, and all these issues with black areas should be fixed. Old existing thumbnails won't get updated automatically, but future ones should come out full-size.