~ubuntu-branches/ubuntu/raring/virtualbox-ose/raring

« back to all changes in this revision

Viewing changes to src/VBox/GuestHost/OpenGL/state_tracker/state_evaluators.c

  • Committer: Bazaar Package Importer
  • Author(s): Felix Geyer
  • Date: 2011-01-30 23:27:25 UTC
  • mfrom: (0.3.12 upstream)
  • Revision ID: james.westby@ubuntu.com-20110130232725-2ouajjd2ggdet0zd
Tags: 4.0.2-dfsg-1ubuntu1
* Merge from Debian unstable, remaining changes:
  - Add Apport hook.
    - debian/virtualbox-ose.files/source_virtualbox-ose.py
    - debian/virtualbox-ose.install
  - Drop *-source packages.
* Drop ubuntu-01-fix-build-gcc45.patch, fixed upstream.
* Drop ubuntu-02-as-needed.patch, added to the Debian package.

Show diffs side-by-side

added added

removed removed

Lines of Context:
223
223
/*
224
224
 * Copy 2-parametric evaluator control points from user-specified
225
225
 * memory space to a buffer of contiguous control points.
226
 
 * Additional memory is allocated to be used by the horner and
 
226
 * Additional memory is allocated to be used by the Horner and
227
227
 * de Casteljau evaluation schemes.
228
228
 *
229
229
 * Input:  see glMap2f for details
244
244
        }
245
245
 
246
246
        /* max(uorder, vorder) additional points are used in      */
247
 
        /* horner evaluation and uorder*vorder additional */
 
247
        /* Horner evaluation and uorder*vorder additional */
248
248
        /* values are needed for de Casteljau                     */
249
249
        dsize = (uorder == 2 && vorder == 2) ? 0 : uorder * vorder;
250
250
        hsize = (uorder > vorder ? uorder : vorder) * size;
287
287
        }
288
288
 
289
289
        /* max(uorder, vorder) additional points are used in      */
290
 
        /* horner evaluation and uorder*vorder additional */
 
290
        /* Horner evaluation and uorder*vorder additional */
291
291
        /* values are needed for de Casteljau                     */
292
292
        dsize = (uorder == 2 && vorder == 2) ? 0 : uorder * vorder;
293
293
        hsize = (uorder > vorder ? uorder : vorder) * size;