Parent Directory | Revision Log | Patch
revision 1.40 by tjl, Thu Jan 16 16:06:28 2003 UTC | revision 1.41 by tjl, Fri Jan 17 14:37:17 2003 UTC | |
---|---|---|
# | Line 903 public class GL { | Line 903 public class GL { |
903 | */ | */ |
904 | public static native String getGLTokenString(int value); | public static native String getGLTokenString(int value); |
905 | ||
906 | /** If known, return bits per texel of a given format. | |
907 | */ | |
908 | public static int bitsPerTexel(String format) { | |
909 | if(format.equals("COMPRESSED_RGB_S3TC_DXT1_EXT")) return 4; | |
910 | return -1; | |
911 | } | |
912 | ||
913 | } | } |
914 |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |