SH-2240 Fix for crash on enabling shadows when Debug GL is enabled
SH-2240 Fix for crash on enabling shadows when Debug GL is enabled

gabeharms/firestorm,gabeharms/firestorm,gabeharms/firestorm,gabeharms/firestorm,gabeharms/firestorm,gabeharms/firestorm,gabeharms/firestorm,gabeharms/firestorm,gabeharms/firestorm