Fixed rtt
This commit is contained in:
parent
12cfc58472
commit
b19f257041
|
@ -67,12 +67,12 @@ final class UniqueRendererRTT extends TextureRenderer {
|
||||||
super.enable();
|
super.enable();
|
||||||
|
|
||||||
// Put the renderer contents to the texture
|
// Put the renderer contents to the texture
|
||||||
pbuffer.releaseTexImage(Pbuffer.BACK_LEFT_BUFFER);
|
pbuffer.releaseTexImage(Pbuffer.FRONT_LEFT_BUFFER);
|
||||||
}
|
}
|
||||||
|
|
||||||
void updateTexture() {
|
void updateTexture() {
|
||||||
// Bind the texture after rendering.
|
// Bind the texture after rendering.
|
||||||
pbuffer.bindTexImage(Pbuffer.BACK_LEFT_BUFFER);
|
pbuffer.bindTexImage(Pbuffer.FRONT_LEFT_BUFFER);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
Loading…
Reference in New Issue