Project

General

Profile

« Previous | Next » 

Revision cce2b48c

Added by Leszek Koltunski about 2 years ago

we need to make the texture row size 256 px again - the LG phone's GPU runs out of memory.

View differences:

src/main/java/org/distorted/objectlib/main/TwistyObject.java
87 87
  private static final int STATE_ROTATE  = 1;
88 88
  private static final int STATE_FINISH  = 2;
89 89

  
90
  private static final int DEFAULT_TEXTURE_HEIGHT = 512;
90
  private static final int DEFAULT_TEXTURE_HEIGHT = 256;
91 91
  private static final int DEFAULT_TEXTURE_ROWS   = 8;
92 92

  
93 93
  public static final float SQ2 = (float)Math.sqrt(2);

Also available in: Unified diff