egl: match geometry position of glxgears
commit9c095ff0e359d3f3bbc1d15f399723c26e66a770
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Mon, 7 Sep 2020 16:26:48 +0000 (7 18:26 +0200)
committerErik Faye-Lund <erik.faye-lund@collabora.com>
Mon, 14 Sep 2020 11:05:31 +0000 (14 11:05 +0000)
treea065980b3554cab3a7aa3f90d66e42c8682827ab
parent67db4a25821142d042f9f09ca4dbe7ed67ec5c63
egl: match geometry position of glxgears

There's two things that differs about the geometry position of this port
of glxgears:

1. The camera is moved back by the wrong amount.
2. The projection matrix is computed the wrong way.

So let's remedy this, and make the rendering closer to the original.

Reviewed-by: Adam Jackson <ajax@redhat.com>
src/egl/opengles2/es2gears.c