Fixed compilation errors on some machines

This commit is contained in:
Mr-Wiseguy 2024-01-02 14:56:32 -05:00
parent 62e70ab0a1
commit 65fc7f9924
2 changed files with 2 additions and 1 deletions

View File

@ -131,6 +131,7 @@ target_include_directories(MMRecomp PRIVATE
${CMAKE_SOURCE_DIR}/lib/RT64-HLE/src/contrib
${CMAKE_SOURCE_DIR}/lib/RT64-HLE/src/contrib/mupen64plus-win32-deps/SDL2-2.26.3/include
${CMAKE_SOURCE_DIR}/lib/RT64-HLE/src/contrib/hlslpp/include
${CMAKE_SOURCE_DIR}/lib/RT64-HLE/src/contrib/dxc/inc
${CMAKE_SOURCE_DIR}/lib/RT64-HLE/src
${CMAKE_SOURCE_DIR}/lib/RT64-HLE/src/rhi
${CMAKE_SOURCE_DIR}/lib/RT64-HLE/src/render

View File

@ -565,7 +565,7 @@ public:
};
bool can_focus(Rml::Element* element) {
return element->GetOwnerDocument() != nullptr && element->GetProperty(Rml::PropertyId::TabIndex)->Get<Rml::Style::TabIndex>() != Rml::Property(Rml::Style::TabIndex::None);
return element->GetOwnerDocument() != nullptr && element->GetProperty(Rml::PropertyId::TabIndex)->Get<Rml::Style::TabIndex>() != Rml::Style::TabIndex::None;
}
Rml::Element* get_target(Rml::ElementDocument* document, Rml::Element* element) {