query depth/stencil bits from chosen caps instead of gl

This commit is contained in:
codeanticode
2012-11-27 19:52:11 +00:00
parent 8de3724551
commit 28f77600f4
2 changed files with 13 additions and 16 deletions

View File

@@ -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(),