Working on new locations
This commit is contained in:
1 parent
fb7b42ddf9
commit
7e94009217
57 files changed
+732417
-528
No files matched your search
@@ -49,6 +49,7 @@ namespace ZL {
|
||||
__android_log_print(ANDROID_LOG_ERROR, "ShaderManager",
|
||||
"Failed to compile vertex shader: %s", infoLog);
|
||||
#endif
|
||||
std::cout << "Vertex shader compilation failed: " << infoLog << std::endl;
|
||||
throw std::runtime_error("Failed to compile vertex shader code!");
|
||||
}
|
||||
|
||||
@@ -57,6 +58,8 @@ namespace ZL {
|
||||
__android_log_print(ANDROID_LOG_ERROR, "ShaderManager",
|
||||
"Failed to compile fragment shader: %s", infoLog);
|
||||
#endif
|
||||
std::cout << "Fragment shader compilation failed: " << infoLog << std::endl;
|
||||
|
||||
throw std::runtime_error("Failed to compile fragment shader code!");
|
||||
}
|
||||
|
||||
|
||||
@@ -407,6 +407,7 @@ namespace ZL
|
||||
fileArr = !ZIPFileName.empty() ? readFileFromZIP(fullFileName, ZIPFileName) : readFile(fullFileName);
|
||||
|
||||
if (fileArr.empty()) {
|
||||
std::cout << "Could not read file data into memory: " << fullFileName << " zip file name: " << ZIPFileName << std::endl;
|
||||
throw std::runtime_error("Could not read file data into memory");
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user