~ubuntu-branches/ubuntu/lucid/mesa/lucid

« back to all changes in this revision

Viewing changes to progs/demos/isosurf.c

  • Committer: Bazaar Package Importer
  • Author(s): Timo Aaltonen, Timo Aaltonen, Robert Hooker
  • Date: 2010-02-19 15:52:12 UTC
  • mfrom: (3.1.10 experimental)
  • Revision ID: james.westby@ubuntu.com-20100219155212-blqov938av7m6exj
Tags: 7.7-3ubuntu1
[ Timo Aaltonen ]
* Merge from Debian experimental.

[ Robert Hooker ]
* Add 100_no_abi_tag.patch: Removes the ABI tag in /usr/lib/libGL.so.1
  which prevented ldconfig from using a libGL from another directory
  at a higher priority than the one in /usr/lib.
* Install libGL alternatives with libgl1-mesa-swx11 as well. (LP: #522048)

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
#include <stdio.h>
28
28
#include <string.h>
29
29
#include <stdlib.h>
30
 
#include <string.h>
31
30
#include <math.h>
32
31
#ifdef _WIN32
33
32
#include <windows.h>
132
131
 
133
132
   numverts = 0;
134
133
   while (!feof(f) && numverts<maxverts) {
135
 
      fscanf( f, "%f %f %f  %f %f %f",
136
 
              &data[numverts][0], &data[numverts][1], &data[numverts][2],
137
 
              &data[numverts][3], &data[numverts][4], &data[numverts][5] );
 
134
      int result;
 
135
      result = fscanf( f, "%f %f %f  %f %f %f",
 
136
                       &data[numverts][0], &data[numverts][1], &data[numverts][2],
 
137
                       &data[numverts][3], &data[numverts][4], &data[numverts][5] );
 
138
      (void) result;
138
139
      numverts++;
139
140
   }
140
141
   numverts--;