This commit is contained in:
parent
dda00b604b
commit
e6eb21f6ac
|
@ -346,7 +346,7 @@ bool GL4Shader::CompileProgram(std::string source) {
|
||||||
// Note that we put the translated source first so we get good line numbers.
|
// Note that we put the translated source first so we get good line numbers.
|
||||||
FILE* f = fopen(file_name, "w");
|
FILE* f = fopen(file_name, "w");
|
||||||
if (f) {
|
if (f) {
|
||||||
fprintf(f, translated_disassembly_.c_str());
|
fprintf(f, "%s", translated_disassembly_.c_str());
|
||||||
fprintf(f, "/*\n");
|
fprintf(f, "/*\n");
|
||||||
fprintf(f, "%s", ucode_disassembly_.c_str());
|
fprintf(f, "%s", ucode_disassembly_.c_str());
|
||||||
fprintf(f, " */\n");
|
fprintf(f, " */\n");
|
||||||
|
|
Loading…
Reference in New Issue