Use correct option in spvTextToBinary. (#2416)

Fixes #2414.
This commit is contained in:
Steven Perron 2019-02-26 16:52:33 -05:00 committed by GitHub
parent d800bbbac9
commit 32b0f6739f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -778,7 +778,7 @@ spv_result_t spvTextToBinary(const spv_const_context context,
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);
}