Commit 683c4e52 authored by Lioncash's avatar Lioncash
Browse files

gl_shader_disk_cache: Remove redundant code string construction in LoadDecompiledEntry()

We don't need to load the code into a vector and then construct a string
over the data. We can just create a string with the necessary size ahead
of time, and read the data directly into it, getting rid of an
unnecessary heap allocation.
parent 5e4c2276
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment