mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-28 18:50:29 +00:00
Seems to work in Cg as well.
This commit is contained in:
parent
508cfdbda7
commit
19a46b1f8b
@ -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;"
|
||||
"}"
|
||||
""
|
||||
|
Loading…
Reference in New Issue
Block a user