* clutter/cogl/gl/cogl.c (cogl_perspective): Use the accurate
64-bit multiplication macro instead of COGL_FIXED_FAST_DIV for calculating xmax as was done previously. This fixes test-perspective and other tests that had a gone a bit skewiff.
This commit is contained in:
parent
146967702f
commit
a15ae21bd2
@ -1,3 +1,10 @@
|
||||
2008-11-04 Neil Roberts <neil@linux.intel.com>
|
||||
|
||||
* clutter/cogl/gl/cogl.c (cogl_perspective): Use the accurate
|
||||
64-bit multiplication macro instead of COGL_FIXED_FAST_DIV for
|
||||
calculating xmax as was done previously. This fixes
|
||||
test-perspective and other tests that had a gone a bit skewiff.
|
||||
|
||||
2008-11-04 Neil Roberts <neil@linux.intel.com>
|
||||
|
||||
Bug 1181 - In Score, timelines, appended at markers, are also
|
||||
|
@ -775,7 +775,7 @@ cogl_perspective (CoglFixed fovy,
|
||||
COGL_FIXED_FAST_DIV (cogl_fixed_sin (fovy_rad_half),
|
||||
cogl_fixed_cos (fovy_rad_half)));
|
||||
|
||||
xmax = COGL_FIXED_FAST_DIV (ymax, aspect);
|
||||
xmax = COGL_FIXED_MUL (ymax, aspect);
|
||||
|
||||
x = COGL_FIXED_FAST_DIV (zNear, xmax);
|
||||
y = COGL_FIXED_FAST_DIV (zNear, ymax);
|
||||
|
Loading…
Reference in New Issue
Block a user