if (width > 0) PBUFFER_WIDTH = width; if (height > 0) PBUFFER_HEIGHT = height;
    public LWJGLTextureRenderer(int width, int height,            LWJGLRenderer parentRenderer, RenderTexture texture) {        if (width > 0) PBUFFER_WIDTH = width;        if (height > 0) PBUFFER_HEIGHT = height;        caps = Pbuffer.getPbufferCaps();        if (width != height                && (caps & Pbuffer.RENDER_TEXTURE_RECTANGLE_SUPPORTED) == 0) {            width = height = Math.max(width, height);        }        if (((caps & Pbuffer.PBUFFER_SUPPORTED) == 0)) {            LoggingSystem.getLogger().log(Level.SEVERE,                    "No Pbuffer support detected, exiting!");            System.exit(1); // Clean this up?        }        if ((caps & Pbuffer.RENDER_TEXTURE_SUPPORTED) != 0) {            LoggingSystem.getLogger().log(Level.INFO,                    "Render to Texture Pbuffer supported!");            if (texture == null)                LoggingSystem                        .getLogger()                        .log(Level.INFO,                                "No RenderTexture used in init, falling back to Copy Texture PBuffer.");            else                useDirectRender = true;        } else {            LoggingSystem.getLogger().log(Level.INFO,                    "Copy Texture Pbuffer supported!");            texture = null;        }        this.parentRenderer = parentRenderer;        this.display = (LWJGLDisplaySystem)DisplaySystem.getDisplaySystem();        this.texture = texture;        initPbuffer();    }