2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-08 22:27:43 +00:00

Vulkan coordinate fix

This commit is contained in:
Jack Andersen
2016-07-01 17:45:47 -10:00
parent b3e981763b
commit f31f2113f4
2 changed files with 3 additions and 0 deletions

View File

@@ -21,6 +21,7 @@ SPECTER_GLSL_VIEW_VERT_BLOCK
"{\n"
" vtf.color = colorIn * mulColor;\n"
" gl_Position = mv * vec4(posIn, 1.0);\n"
" gl_Position = FLIPFROMGL(gl_Position);\n"
"}\n";
static const char* GLSLSolidFS =
@@ -54,6 +55,7 @@ SPECTER_GLSL_VIEW_VERT_BLOCK
" vtf.uv.xy = uvIn;\n"
" vtf.color = mulColor;\n"
" gl_Position = mv * vec4(posIn, 1.0);\n"
" gl_Position = FLIPFROMGL(gl_Position);\n"
"}\n";
static const char* GLSLTexFS =