diff options
author | Benjamin Otte <otte@redhat.com> | 2023-05-16 17:18:19 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2023-05-16 18:53:27 +0200 |
commit | 2b0ad09423ce8b3e5885a8a396e37949f66e702d (patch) | |
tree | 25b7af6f24450e332b53bd4529acb23541e159f6 /meson_options.txt | |
parent | f5955feea1cd0d5ebe457b8685ac27e03a02bf97 (diff) | |
download | gtk+-2b0ad09423ce8b3e5885a8a396e37949f66e702d.tar.gz |
vulkan: Make projection matrix match GL
Vulkan has a different initial coordinate system to GL.
GL:
(-1, 1, -1) +------+.
|`. | `.
| `·--|---·
| : | :
+------+. :
`. : `.:
`·------· (1, -1, 1)
Vulkan:
(-1, -1, 0) +------+.
|`. | `.
| `·--|---·
| : | :
+------+. :
`. : `.:
`·------· (1, 1, 1)
so adjust the near and far plane we pass to
graphene_matrix_init_ortho() to make it end up with the same
projection as the GL renderer.
Diffstat (limited to 'meson_options.txt')
0 files changed, 0 insertions, 0 deletions