fix a dereference of an explicit null value

This commit is contained in:
Matthias Mailänder
2015-05-25 17:41:55 +02:00
parent c7dc3737b1
commit 1b16a51021

View File

@@ -315,7 +315,8 @@ namespace OpenRA.Graphics
v.Second(); v.Second();
} }
DisableFrameBuffer(fbo); if (fbo != null)
DisableFrameBuffer(fbo);
} }
public Sheet AllocateSheet() public Sheet AllocateSheet()