parent
b75f0c15a0
commit
ccd365b602
@ -81,7 +81,12 @@ namespace spades {
|
||||
std::string BacktraceRecordToString(const BacktraceRecord &);
|
||||
}
|
||||
void StartLog();
|
||||
void LogMessage(const char *file, int line, const char *format, ...);
|
||||
|
||||
void LogMessage(const char *file, int line, const char *format, ...)
|
||||
#ifdef __GNUC__
|
||||
__attribute__((format(printf, 3, 4)))
|
||||
#endif
|
||||
;
|
||||
}
|
||||
|
||||
#ifdef _MSC_VER
|
||||
|
@ -1186,7 +1186,7 @@ namespace spades {
|
||||
if (cat == nullptr) {
|
||||
if (!currentLocaleRegion.empty()) {
|
||||
SPLog("Catalog file for the locale '%s' was not found. (domain='%s')",
|
||||
domainName.c_str());
|
||||
currentLocaleRegion.c_str(), domainName.c_str());
|
||||
}
|
||||
SPLog("Using the default locale. (domain='%s')", domainName.c_str());
|
||||
}
|
||||
|
@ -89,7 +89,7 @@ namespace spades {
|
||||
c.cz = z;
|
||||
}
|
||||
|
||||
SPLog("Chunk buffer allocated (%d bytes)", sizeof(Chunk) * chunkW * chunkH * chunkD);
|
||||
SPLog("Chunk buffer allocated (%d bytes)", (int) sizeof(Chunk) * chunkW * chunkH * chunkD);
|
||||
|
||||
// make texture
|
||||
texture = device->GenTexture();
|
||||
|
@ -109,7 +109,7 @@ namespace spades {
|
||||
c.cz = z;
|
||||
}
|
||||
|
||||
SPLog("Chunk buffer allocated (%d bytes)", sizeof(Chunk) * chunkW * chunkH * chunkD);
|
||||
SPLog("Chunk buffer allocated (%d bytes)", (int) sizeof(Chunk) * chunkW * chunkH * chunkD);
|
||||
|
||||
// make texture
|
||||
textureFlat = device->GenTexture();
|
||||
|
Loading…
x
Reference in New Issue
Block a user