Fixed rtt

This commit is contained in:
Ioannis Tsakpinis 2004-07-26 22:25:02 +00:00
parent 12cfc58472
commit b19f257041
1 changed files with 2 additions and 2 deletions

View File

@ -67,12 +67,12 @@ final class UniqueRendererRTT extends TextureRenderer {
super.enable();
// Put the renderer contents to the texture
pbuffer.releaseTexImage(Pbuffer.BACK_LEFT_BUFFER);
pbuffer.releaseTexImage(Pbuffer.FRONT_LEFT_BUFFER);
}
void updateTexture() {
// Bind the texture after rendering.
pbuffer.bindTexImage(Pbuffer.BACK_LEFT_BUFFER);
pbuffer.bindTexImage(Pbuffer.FRONT_LEFT_BUFFER);
}
}