Am 2014-03-09 05:07, schrieb Eric Anholt:
+vb += i * glamor_priv-vb_stride / 4;
This should be / sizeof(float) instead.
+vb += 3 * glamor_priv-vb_stride / 4;
Here also.
___
xorg-devel@lists.x.org: X.Org development
Markus Wick mar...@selfnet.de writes:
Am 2014-03-09 05:07, schrieb Eric Anholt:
+vb += i * glamor_priv-vb_stride / 4;
This should be / sizeof(float) instead.
presumably GLfloat?
--
keith.pack...@intel.com
pgpG0YEpkULdn.pgp
Description: PGP signature
Keith Packard kei...@keithp.com writes:
Markus Wick mar...@selfnet.de writes:
Am 2014-03-09 05:07, schrieb Eric Anholt:
+vb += i * glamor_priv-vb_stride / 4;
This should be / sizeof(float) instead.
presumably GLfloat?
We've been pretty good about not using the ugly GL types so far.
Eric Anholt e...@anholt.net writes:
We've been pretty good about not using the ugly GL types so far.
Ok, sounds like 'sop' then. I'll follow your lead.
--
keith.pack...@intel.com
pgpvVB7dGb6iQ.pgp
Description: PGP signature
___
Signed-off-by: Eric Anholt e...@anholt.net
---
glamor/glamor_trapezoid.c | 25 ++---
1 file changed, 18 insertions(+), 7 deletions(-)
diff --git a/glamor/glamor_trapezoid.c b/glamor/glamor_trapezoid.c
index 7bbee4b..a774c37 100644
--- a/glamor/glamor_trapezoid.c
+++