From 6002f01e6f908f566f8fe5087ce4dc8303fb38e3 Mon Sep 17 00:00:00 2001 From: ALTaleX <2368730049@qq.com> Date: Sun, 3 Nov 2024 10:48:29 +0800 Subject: [PATCH] fix crashes under 24h2 --- OpenGlass/uDwmProjection.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/OpenGlass/uDwmProjection.hpp b/OpenGlass/uDwmProjection.hpp index 272ec2f..3505be8 100644 --- a/OpenGlass/uDwmProjection.hpp +++ b/OpenGlass/uDwmProjection.hpp @@ -788,7 +788,7 @@ namespace OpenGlass::uDwm { visual = reinterpret_cast(this)[34]; } - else if (os::buildNumber < os::build_w11_22h2) + else if (os::buildNumber < os::build_w11_24h2) { visual = reinterpret_cast(this)[36]; } @@ -842,7 +842,7 @@ namespace OpenGlass::uDwm { visual = reinterpret_cast(this)[70]; } - else if (os::buildNumber < os::build_w11_22h2) + else if (os::buildNumber < os::build_w11_24h2) { visual = reinterpret_cast(this)[74]; }