From ef4a386b1acd49235ed6bb1ade73a681c9572151 Mon Sep 17 00:00:00 2001 From: Nathan Date: Fri, 9 Feb 2024 18:21:02 -0500 Subject: [PATCH] Fix mingw warning as error --- LEGO1/mxdirectx/mxdirect3d.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; }