mirror of
https://github.com/Jozufozu/Flywheel.git
synced 2024-11-10 12:34:11 +01:00
Unbuffers your data
- Fix null check in BakedModelBufferer
This commit is contained in:
parent
db696f5975
commit
456b8b66fe
@ -238,7 +238,7 @@ public final class BakedModelBufferer {
|
|||||||
shadedData.release();
|
shadedData.release();
|
||||||
}
|
}
|
||||||
RenderedBuffer unshadedData = unshadedBuffer.endOrDiscardIfEmpty();
|
RenderedBuffer unshadedData = unshadedBuffer.endOrDiscardIfEmpty();
|
||||||
if (unshadedBuffer != null) {
|
if (unshadedData != null) {
|
||||||
resultConsumer.accept(renderType, false, unshadedData);
|
resultConsumer.accept(renderType, false, unshadedData);
|
||||||
unshadedData.release();
|
unshadedData.release();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user