Fixed KRDatablock::Append where the data was not expanded correctly to concatenate a std::String. Converted sprite shader. Adjusted Spirv compile logging.
This commit is contained in:
@@ -169,7 +169,7 @@ int main( int argc, char *argv[] )
|
||||
printf("Failed to get shader compile log. (Error %i)\n", result.result);
|
||||
} else {
|
||||
// result.data will be a null terminated string
|
||||
if (result.data != nullptr && static_cast<char*>(result.data)[0] != '\0') {
|
||||
if (result.data != nullptr && result.length > 0) {
|
||||
printf("Shader compile log:\n%s\n", static_cast<char *>(result.data));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user