Skip to content

Commit 4756c04

Browse files
committed
rename updateStaticBuffers to updateSharedBuffers
1 parent 3099a26 commit 4756c04

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

jme3-lwjgl3/src/main/java/com/jme3/vulkan/mesh/MyCustomMesh.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,18 +24,18 @@ public class MyCustomMesh extends AdaptiveMesh {
2424
public MyCustomMesh(LogicalDevice<?> device,
2525
UpdateFrameManager frames,
2626
MeshDescription description,
27-
CommandBatch updateStaticBuffers,
27+
CommandBatch updateSharedBuffers,
2828
Vector3f normal, Vector3f up, float width, float height, float centerX, float centerY) {
2929
super(description);
3030
this.device = device;
3131
this.frames = frames;
32-
this.updateStaticBuffers = updateStaticBuffers;
32+
this.updateStaticBuffers = updateSharedBuffers;
3333
StaticBuffer indices = new StaticBuffer(device, MemorySize.shorts(6), BufferUsage.Index, MemoryProp.DeviceLocal, false);
3434
ShortBuffer iBuf = indices.mapShorts();
3535
iBuf.put((short)0).put((short)2).put((short)3)
3636
.put((short)0).put((short)1).put((short)2);
3737
indices.unmap();
38-
indexBuffer = updateStaticBuffers.add(new SingleCommand<>(indices));
38+
indexBuffer = updateSharedBuffers.add(new SingleCommand<>(indices));
3939
try (Builder m = build(4)) {
4040
m.setMode(VertexAttribute.POSITION, VertexMode.Static);
4141
m.setMode(VertexAttribute.NORMALS, VertexMode.Static);

0 commit comments

Comments
 (0)