From f779a4141a2886a444cf502465fc4fcd9e5a5188 Mon Sep 17 00:00:00 2001 From: Dario Date: Sun, 3 Nov 2024 22:21:05 -0300 Subject: [PATCH] Deprecate offline list. --- src/main/rt64_render_context.cpp | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/main/rt64_render_context.cpp b/src/main/rt64_render_context.cpp index 8d5c735..7f72e8e 100644 --- a/src/main/rt64_render_context.cpp +++ b/src/main/rt64_render_context.cpp @@ -398,13 +398,7 @@ float zelda64::renderer::RT64Context::get_resolution_scale() const { } void zelda64::renderer::RT64Context::load_shader_cache(std::span cache_binary) { - // TODO figure out how to avoid a copy here. - std::istringstream cache_stream{std::string{cache_binary.data(), cache_binary.size()}}; - - if (!app->rasterShaderCache->loadOfflineList(cache_stream)) { - printf("Failed to preload shader cache!\n"); - assert(false); - } + // Deprecated. } RT64::UserConfiguration::Antialiasing zelda64::renderer::RT64MaxMSAA() {