WIP OSX and TvOS support

This commit is contained in:
2016-01-30 20:13:23 -08:00
parent 3913345a28
commit f356df178f
48 changed files with 1185 additions and 269 deletions

View File

@@ -25,11 +25,13 @@
// or implied, of Kearwood Gilbert.
//
varying mediump vec2 textureCoordinate;
out vec4 colorOut;
in mediump vec2 textureCoordinate;
uniform sampler2D diffuseTexture;
void main()
{
gl_FragColor = texture2D(diffuseTexture, textureCoordinate);
colorOut = texture(diffuseTexture, textureCoordinate);
}