Merge branch 'dev' into libretro

This commit is contained in:
刘皓 2025-07-03 22:09:46 -04:00
commit 5048efe1b4
No known key found for this signature in database
GPG key ID: 7901753DB465B711
2 changed files with 4 additions and 4 deletions

View file

@ -1194,7 +1194,7 @@ static void showExc(VALUE exc, const BacktraceData &btData) {
file = btData.scriptNames.value(file, file);
std::string ms(640, '\0');
snprintf(&ms[0], ms.size(), "Script '%s' line %s: %s occured.\n\n%s",
snprintf(&ms[0], ms.size(), "Script '%s' line %s: %s occurred.\n\n%s",
file.c_str(), line, RSTRING_PTR(name), RSTRING_PTR(msg));
showMsg(ms);

View file

@ -204,7 +204,7 @@ void Shader::init(Exception &exception,
{
printShaderLog(vertShader);
exception = Exception(Exception::MKXPError,
"GLSL: An error occured while compiling vertex shader '%s' in program '%s'",
"GLSL: An error occurred while compiling vertex shader '%s' in program '%s'",
vertName, programName);
return;
}
@ -219,7 +219,7 @@ void Shader::init(Exception &exception,
{
printShaderLog(fragShader);
exception = Exception(Exception::MKXPError,
"GLSL: An error occured while compiling fragment shader '%s' in program '%s'",
"GLSL: An error occurred while compiling fragment shader '%s' in program '%s'",
fragName, programName);
return;
}
@ -240,7 +240,7 @@ void Shader::init(Exception &exception,
{
printProgramLog(program);
exception = Exception(Exception::MKXPError,
"GLSL: An error occured while linking program '%s' (vertex '%s', fragment '%s')",
"GLSL: An error occurred while linking program '%s' (vertex '%s', fragment '%s')",
programName, vertName, fragName);
return;
}