diff --git a/base/VulkanTools.cpp b/base/VulkanTools.cpp index 29b558ac..5e720fc8 100644 --- a/base/VulkanTools.cpp +++ b/base/VulkanTools.cpp @@ -294,23 +294,6 @@ namespace vks exitFatal(message, (int32_t)resultCode); } - std::string readTextFile(const char *fileName) - { - std::string fileContent; - std::ifstream fileStream(fileName, std::ios::in); - if (!fileStream.is_open()) { - printf("File %s not found\n", fileName); - return ""; - } - std::string line = ""; - while (!fileStream.eof()) { - getline(fileStream, line); - fileContent.append(line + "\n"); - } - fileStream.close(); - return fileContent; - } - #if defined(__ANDROID__) // Android shaders are stored as assets in the apk // So they need to be loaded via the asset manager