Rename shader variable names.

This commit is contained in:
Themaister 2012-01-07 15:00:51 +01:00
parent 79b9c68cb5
commit 18f027ed41

View File

@ -32,9 +32,9 @@ static const char* g_strPixelShaderProgram =
" float2 coord : TEXCOORD0; "
" }; "
" "
" float4 main(PS_IN in) : COLOR "
" float4 main(PS_IN input) : COLOR "
" { "
" return tex2D(tex, in.coord); "
" return tex2D(tex, input.coord); "
" } ";
static const char* g_strVertexShaderProgram =
@ -51,11 +51,11 @@ static const char* g_strVertexShaderProgram =
" float2 coord : TEXCOORD0; "
" }; "
" "
" VS_OUT main(VS_IN in) "
" VS_OUT main(VS_IN input) "
" { "
" VS_OUT out; "
" out.pos = float4(in.pos, 0.0, 1.0); "
" out.coord = in.coord; "
" out.pos = float4(input.pos, 0.0, 1.0); "
" out.coord = input.coord; "
" return out; "
" } ";