remove redundant null test
This commit is contained in:
parent
5e9b517f50
commit
1614c81a6d
@ -105,13 +105,9 @@ public abstract class BasicRenderLayer extends RenderLayer {
|
||||
return;
|
||||
}
|
||||
|
||||
if (layers.vbo == null) {
|
||||
if (layers.vbo == null)
|
||||
layers.vbo = BufferObject.get(GL20.GL_ARRAY_BUFFER, newSize);
|
||||
|
||||
if (layers.vbo == null)
|
||||
return;
|
||||
}
|
||||
|
||||
if (GLRenderer.uploadLayers(layers, newSize, true))
|
||||
isReady = true;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user