Ambiguous results with Frame Buffers in libgdx
问题 I am getting the following weird results with the FrameBuffer class in libgdx. Here is the code that is producing this result: // This is the rendering code @Override public void render(float delta) { Gdx.gl.glClear(GL20.GL_COLOR_BUFFER_BIT | GL20.GL_DEPTH_BUFFER_BIT); stage.act(); stage.draw(); fbo.begin(); batch.begin(); batch.draw(heart, 0, 0); batch.end(); fbo.end(); test = new Image(fbo.getColorBufferTexture()); test.setPosition(256, 256); stage.addActor(test); } //This is the