You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/nbl/asset/utils/waveContext.h
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -109,8 +109,8 @@ struct preprocessing_hooks final : public boost::wave::context_policies::default
109
109
returntrue;
110
110
}
111
111
112
-
if (strcmp(optionStr, "dxc_compile_flags") ) {
113
-
if (0 && hash_token_occurences != 1) {
112
+
if (strcmp(optionStr, "dxc_compile_flags") == 0) {
113
+
if (hash_token_occurences != 1) {
114
114
m_logger.log("Pre-processor error: Encountered a \"#pragma wave dxc_compile_flags\" but it is not the first preprocessor directive.", system::ILogger::ELL_ERROR);
0 commit comments