diff --git a/src/net/jibini/glutils/Framebuffer.java b/src/net/jibini/glutils/Framebuffer.java index c7406ff..a2bb4f2 100644 --- a/src/net/jibini/glutils/Framebuffer.java +++ b/src/net/jibini/glutils/Framebuffer.java @@ -103,6 +103,8 @@ public Framebuffer(int width, int height) // @formatter:on FloatBuffer fboMeshBuffer = BufferUtils.createFloatBuffer(fboMeshData.length); + fboMeshBuffer.put(fboMeshData); + fboMeshBuffer.flip(); fboMesh = new MeshRenderer(); fboMesh.createInterleaved(fboMeshBuffer, fboMeshData.length / GLUtils.COORD_ELEMENTS); }