remove redundant null test
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user