diff --git a/OpenRA.Game/Graphics/VoxelRenderer.cs b/OpenRA.Game/Graphics/VoxelRenderer.cs index 8280effec9..1f66be1fea 100644 --- a/OpenRA.Game/Graphics/VoxelRenderer.cs +++ b/OpenRA.Game/Graphics/VoxelRenderer.cs @@ -315,7 +315,8 @@ namespace OpenRA.Graphics v.Second(); } - DisableFrameBuffer(fbo); + if (fbo != null) + DisableFrameBuffer(fbo); } public Sheet AllocateSheet()