mirror of
https://github.com/shadowfacts/lwjgl2-arm64.git
synced 2026-04-17 20:34:20 +00:00
Fixed rtt
This commit is contained in:
parent
12cfc58472
commit
b19f257041
1 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue