mirror of
https://github.com/shadowfacts/lwjgl2-arm64.git
synced 2026-03-18 11:14:41 +01:00
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 */
|
||||
private final boolean stereo;
|
||||
|
||||
/**
|
||||
* Default pixel format is minimum 8 bits depth, and no alpha
|
||||
* nor stencil requirements.
|
||||
*/
|
||||
public PixelFormat() {
|
||||
this(0, 0, 0);
|
||||
this(0, 8, 0);
|
||||
}
|
||||
|
||||
public PixelFormat(int alpha, int depth, int stencil) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue