Minimum requirements for PixelFormat is 8 bit depth
This commit is contained in:
parent
fd32c5b9b9
commit
59aa0586f7
|
@ -70,8 +70,12 @@ public final class PixelFormat {
|
||||||
/** Whether this format represents a stereo buffer or not */
|
/** Whether this format represents a stereo buffer or not */
|
||||||
private final boolean stereo;
|
private final boolean stereo;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Default pixel format is minimum 8 bits depth, and no alpha
|
||||||
|
* nor stencil requirements.
|
||||||
|
*/
|
||||||
public PixelFormat() {
|
public PixelFormat() {
|
||||||
this(0, 0, 0);
|
this(0, 8, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
public PixelFormat(int alpha, int depth, int stencil) {
|
public PixelFormat(int alpha, int depth, int stencil) {
|
||||||
|
|
Loading…
Reference in New Issue