/[gzz]/gzz/gzz/gfx/gl/GLSpanner.java
ViewVC logotype

Diff of /gzz/gzz/gfx/gl/GLSpanner.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.8 by tjl, Mon Jan 27 12:28:00 2003 UTC revision 1.9 by tjl, Mon Jan 27 17:26:04 2003 UTC
# Line 85  public class GLSpanner { Line 85  public class GLSpanner {
85              w = (int)(d.width / resmult);              w = (int)(d.width / resmult);
86              h = (int)(d.height / resmult);              h = (int)(d.height / resmult);
87              MipzipLoader l;              MipzipLoader l;
88                File f = new File(file +
89                        (GL.workaroundStupidBuggyAtiDrivers?
90                            ".mipzipBLAH" :
91                            ".mipzip"));
92              try {              try {
93                  l = new MipzipLoader(new File(file+".mipzip"));                  l = new MipzipLoader(f);
94              } catch(IOException e) {              } catch(IOException e) {
95                    e.printStackTrace();
96                  throw new Error("MipzipLoader threw '" + e + "' for " +                  throw new Error("MipzipLoader threw '" + e + "' for " +
97                                  file + ".mipzip");                                  f);
98              }              }
99              Dimension largest = l.getLevelSize(0);              Dimension largest = l.getLevelSize(0);
100              x1 = d.width / (float)largest.width;              x1 = d.width / (float)largest.width;

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26