Seems to work in Cg as well.

This commit is contained in:
Themaister 2011-07-03 15:53:56 +02:00
parent 508cfdbda7
commit 19a46b1f8b

View File

@ -36,18 +36,15 @@ static const char* stock_cg_program =
"void main_vertex"
"("
" float4 position : POSITION,"
" float4 color : COLOR,"
" float2 texCoord : TEXCOORD0,"
""
" uniform float4x4 modelViewProj,"
""
" out float4 oPosition : POSITION,"
" out float4 oColor : COLOR,"
" out float2 otexCoord : TEXCOORD0"
")"
"{"
" oPosition = mul(modelViewProj, position);"
" oColor = color;"
" otexCoord = texCoord;"
"}"
""