Skip to content

Commit

Permalink
fix crashes under 24h2
Browse files Browse the repository at this point in the history
  • Loading branch information
ALTaleX531 committed Nov 3, 2024
1 parent eea513b commit 6002f01
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions OpenGlass/uDwmProjection.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -788,7 +788,7 @@ namespace OpenGlass::uDwm
{
visual = reinterpret_cast<CCanvasVisual* const*>(this)[34];
}
else if (os::buildNumber < os::build_w11_22h2)
else if (os::buildNumber < os::build_w11_24h2)
{
visual = reinterpret_cast<CCanvasVisual* const*>(this)[36];
}
Expand Down Expand Up @@ -842,7 +842,7 @@ namespace OpenGlass::uDwm
{
visual = reinterpret_cast<CVisual* const*>(this)[70];
}
else if (os::buildNumber < os::build_w11_22h2)
else if (os::buildNumber < os::build_w11_24h2)
{
visual = reinterpret_cast<CVisual* const*>(this)[74];
}
Expand Down

0 comments on commit 6002f01

Please sign in to comment.