diff --git a/LEGO1/mxdirectx/mxdirect3d.cpp b/LEGO1/mxdirectx/mxdirect3d.cpp index b09962ee..ccfd6405 100644 --- a/LEGO1/mxdirectx/mxdirect3d.cpp +++ b/LEGO1/mxdirectx/mxdirect3d.cpp @@ -226,8 +226,9 @@ int MxDirect3D::ZBufferDepth(MxAssignedDevice* p_assignedDevice) else if (deviceDepth & DDBD_8) { depth = 8; } - else + else { depth = -1; + } return depth; }