mirror of
https://github.com/processing/processing4.git
synced 2026-02-15 03:15:40 +01:00
query depth/stencil bits from chosen caps instead of gl
This commit is contained in:
@@ -684,6 +684,16 @@ public class PGL {
|
||||
}
|
||||
|
||||
|
||||
protected int getDepthBits() {
|
||||
return capabilities.getDepthBits();
|
||||
}
|
||||
|
||||
|
||||
protected int getStencilBits() {
|
||||
return capabilities.getStencilBits();
|
||||
}
|
||||
|
||||
|
||||
protected Texture wrapBackTexture() {
|
||||
Texture tex = new Texture(pg.parent);
|
||||
tex.init(backTex.getName(),
|
||||
|
||||
Reference in New Issue
Block a user