diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/makamys/lodmod/renderer/GPUMemoryManager.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/makamys/lodmod/renderer/GPUMemoryManager.java b/src/main/java/makamys/lodmod/renderer/GPUMemoryManager.java index 2d27630..9a86d1e 100644 --- a/src/main/java/makamys/lodmod/renderer/GPUMemoryManager.java +++ b/src/main/java/makamys/lodmod/renderer/GPUMemoryManager.java @@ -97,7 +97,7 @@ public class GPUMemoryManager { } public void sendMeshToGPU(Mesh mesh) { - if(mesh == null) { + if(mesh == null || mesh.buffer == null) { return; } |