This commit is contained in:
Dr. Chat 2015-07-21 22:20:54 -05:00
parent dda00b604b
commit e6eb21f6ac
1 changed files with 1 additions and 1 deletions

View File

@ -346,7 +346,7 @@ bool GL4Shader::CompileProgram(std::string source) {
// Note that we put the translated source first so we get good line numbers.
FILE* f = fopen(file_name, "w");
if (f) {
fprintf(f, translated_disassembly_.c_str());
fprintf(f, "%s", translated_disassembly_.c_str());
fprintf(f, "/*\n");
fprintf(f, "%s", ucode_disassembly_.c_str());
fprintf(f, " */\n");