mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-02-03 12:12:06 +00:00
Fixed syntax accessing method reviewed by Unknown W. Brackets <checkins@unknownbrackets.org>
Signed-off-by: lainon <GermanAizek@yandex.ru>
This commit is contained in:
parent
3cdf72b68b
commit
09f0c0c8fd
@ -47,7 +47,7 @@ LPD3DBLOB CompileShaderToByteCodeD3D9(const char *code, const char *target, std:
|
||||
pShaderCode = nullptr;
|
||||
}
|
||||
} else {
|
||||
(*errorMessage).clear();
|
||||
errorMessage->clear();
|
||||
}
|
||||
|
||||
return pShaderCode;
|
||||
|
@ -233,7 +233,7 @@ bool TranslateShader(std::string *dest, ShaderLanguage destLang, const ShaderLan
|
||||
return false;
|
||||
#endif
|
||||
|
||||
(*errorMessage).clear();
|
||||
errorMessage->clear();
|
||||
|
||||
glslang::TProgram program;
|
||||
const char *shaderStrings[1]{};
|
||||
|
@ -262,7 +262,7 @@ bool DebuggerRequest::ParamString(const char *name, std::string *out, DebuggerPa
|
||||
return true;
|
||||
} else if (tag == JSON_NULL) {
|
||||
if (required) {
|
||||
(*out).clear();
|
||||
out->clear();
|
||||
}
|
||||
return true;
|
||||
} else if (tag == JSON_NUMBER) {
|
||||
|
@ -60,7 +60,7 @@ FileLoader *ConstructFileLoader(const Path &filename) {
|
||||
|
||||
// TODO : improve, look in the file more
|
||||
IdentifiedFileType Identify_File(FileLoader *fileLoader, std::string *errorString) {
|
||||
(*errorString).clear();
|
||||
errorString->clear();
|
||||
if (fileLoader == nullptr) {
|
||||
*errorString = "Invalid fileLoader";
|
||||
return IdentifiedFileType::ERROR_IDENTIFYING;
|
||||
|
Loading…
x
Reference in New Issue
Block a user