mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-28 18:45:54 -05:00
11 lines
245 B
Text
11 lines
245 B
Text
void main ()
|
|
{
|
|
vec4 tmpvar_1;
|
|
vec4 tmpvar_2;
|
|
tmpvar_2 = (gl_ModelViewProjectionMatrix * gl_Vertex);
|
|
tmpvar_1.xy = ((tmpvar_2.xy + tmpvar_2.w) * 0.5);
|
|
tmpvar_1.zw = tmpvar_2.zw;
|
|
gl_Position = tmpvar_2;
|
|
gl_TexCoord[0] = tmpvar_1;
|
|
}
|
|
|