mirror of
https://github.com/haraldk/TwelveMonkeys.git
synced 2026-05-27 00:00:02 -04:00
Don't need to expose classes outside the package
DDSHeader, DDSReader, DDSType
This commit is contained in:
+1
-1
@@ -23,7 +23,7 @@ public final class DDSHeader {
|
|||||||
private int blueMask;
|
private int blueMask;
|
||||||
private int alphaMask;
|
private int alphaMask;
|
||||||
|
|
||||||
public static DDSHeader read(final ImageInputStream imageInput) throws IOException {
|
static DDSHeader read(final ImageInputStream imageInput) throws IOException {
|
||||||
DDSHeader header = new DDSHeader();
|
DDSHeader header = new DDSHeader();
|
||||||
|
|
||||||
imageInput.setByteOrder(ByteOrder.LITTLE_ENDIAN);
|
imageInput.setByteOrder(ByteOrder.LITTLE_ENDIAN);
|
||||||
|
|||||||
+1
-1
@@ -18,7 +18,7 @@ import javax.imageio.IIOException;
|
|||||||
import javax.imageio.stream.ImageInputStream;
|
import javax.imageio.stream.ImageInputStream;
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
|
|
||||||
public final class DDSReader {
|
final class DDSReader {
|
||||||
|
|
||||||
public static final Order order = new Order(16, 8, 0, 24);
|
public static final Order order = new Order(16, 8, 0, 24);
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -2,7 +2,7 @@ package com.twelvemonkeys.imageio.plugins.dds;
|
|||||||
|
|
||||||
import javax.imageio.IIOException;
|
import javax.imageio.IIOException;
|
||||||
|
|
||||||
public enum DDSType {
|
enum DDSType {
|
||||||
|
|
||||||
DXT1(0x31545844),
|
DXT1(0x31545844),
|
||||||
DXT2(0x32545844),
|
DXT2(0x32545844),
|
||||||
|
|||||||
Reference in New Issue
Block a user