correct a typographic error in TestUseAfterFree output

This commit is contained in:
Stephen Gold 2020-04-20 15:40:47 -07:00
parent 221acaadfe
commit 84c88709b5

View File

@ -70,7 +70,7 @@ public class TestUseAfterFree extends SimpleApplication {
time += tpf; time += tpf;
if (time > 5) { if (time > 5) {
System.out.println("Assiging texture to deleted object!"); System.out.println("Assigning texture to deleted object!");
deletedTex = assetManager.loadTexture("Interface/Logo/Monkey.png"); deletedTex = assetManager.loadTexture("Interface/Logo/Monkey.png");
BufferUtils.destroyDirectBuffer(deletedTex.getImage().getData(0)); BufferUtils.destroyDirectBuffer(deletedTex.getImage().getData(0));