From: "Zhiyi Zhang (@zhiyi)" Subject: Re: [PATCH 0/5] MR355: win32u: Move more display mode logic out of graphics drivers. Message-Id: Date: Fri, 01 Jul 2022 07:24:50 +0000 In-Reply-To: References: On Fri Jul 1 07:23:12 2022 +0000, RĂ©mi Bernon wrote: > It's copying from the local `mode` variable, which has been copied from > the cached modes within the mutex already. It's a bit redundant but I > used the local variable for ENUM_CURRENT_SETTINGS. > It's pretty much temporary anyway as I intend to move the available mode > enumeration to win32u entirely later and only keep ENUM_CURRENT_SETTINGS > in the drivers. Right, I misread that. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/355#note_3096