commit | 32b0f6739fa571d0476fccd50eae3ef82734f5b2 | [log] [tgz] |
---|---|---|
author | Steven Perron <stevenperron@google.com> | Tue Feb 26 16:52:33 2019 -0500 |
committer | GitHub <noreply@github.com> | Tue Feb 26 16:52:33 2019 -0500 |
tree | 53a62a60f0cf66a43536c0dc395884db1cee74fd | |
parent | d800bbbac9cc4c5c00c4cfcab6e82c7c531d0a00 [diff] |
Use correct option in spvTextToBinary. (#2416) Fixes #2414.
diff --git a/source/text.cpp b/source/text.cpp index adaf796..9eadf73 100644 --- a/source/text.cpp +++ b/source/text.cpp
@@ -778,7 +778,7 @@ const size_t input_text_size, spv_binary* pBinary, spv_diagnostic* pDiagnostic) { return spvTextToBinaryWithOptions(context, input_text, input_text_size, - SPV_BINARY_TO_TEXT_OPTION_NONE, pBinary, + SPV_TEXT_TO_BINARY_OPTION_NONE, pBinary, pDiagnostic); }