Skip to content

Commit 841ff91

Browse files
committed
typo fix
1 parent 63c6590 commit 841ff91

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/nbl/asset/utils/waveContext.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,8 +109,8 @@ struct preprocessing_hooks final : public boost::wave::context_policies::default
109109
return true;
110110
}
111111

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) {
114114
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);
115115
return false;
116116
}

0 commit comments

Comments
 (0)