libs/vkd3d: Use negative viewport height to flip along y-axis.

Requires VK_KHR_maintenance1.
This commit is contained in:
Józef Kucia
2017-06-21 22:00:19 +02:00
parent d515e3d047
commit 4e5fcb5141
5 changed files with 18 additions and 23 deletions

View File

@@ -35,6 +35,4 @@ void main()
colour_out.xyz = diffuse_in.xyz * att;
colour_out.w = 1.0;
gl_Position.y = -gl_Position.y;
}