mirror of
https://github.com/Jozufozu/Flywheel.git
synced 2024-12-27 07:26:48 +01:00
Unbuffers your data
- Fix null check in BakedModelBufferer
This commit is contained in:
parent
db696f5975
commit
456b8b66fe
1 changed files with 1 additions and 1 deletions
|
@ -238,7 +238,7 @@ public final class BakedModelBufferer {
|
|||
shadedData.release();
|
||||
}
|
||||
RenderedBuffer unshadedData = unshadedBuffer.endOrDiscardIfEmpty();
|
||||
if (unshadedBuffer != null) {
|
||||
if (unshadedData != null) {
|
||||
resultConsumer.accept(renderType, false, unshadedData);
|
||||
unshadedData.release();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue