diff --git a/core/hw/pvr/ta_ctx.cpp b/core/hw/pvr/ta_ctx.cpp index 72cf79f3a..0faaad2be 100644 --- a/core/hw/pvr/ta_ctx.cpp +++ b/core/hw/pvr/ta_ctx.cpp @@ -203,7 +203,6 @@ TA_context* tactx_Alloc() { rv = new TA_context(); rv->Alloc(); - printf("new tactx\n"); } return rv; diff --git a/core/rend/gles/gles.cpp b/core/rend/gles/gles.cpp index e113365f1..35d32b33c 100755 --- a/core/rend/gles/gles.cpp +++ b/core/rend/gles/gles.cpp @@ -749,6 +749,10 @@ GLuint gl_CompileAndLink(const char* VertexShader, const char* FragmentShader) printf("Shader linking: %s \n (%d bytes), - %s -\n",result?"linked":"failed to link", compile_log_len,compile_log); free(compile_log); + + // Dump the shaders source for troubleshooting + printf("// VERTEX SHADER\n%s\n// END\n", VertexShader); + printf("// FRAGMENT SHADER\n%s\n// END\n", FragmentShader); die("shader compile fail\n"); }