Commit 2e7dc4ca authored by Lioncash's avatar Lioncash
Browse files

gl_shader_cache: Remove unused program_code vector in GetShaderAddress()

Given std::vector is a type with a non-trivial destructor, this
variable cannot be optimized away by the compiler, even if unused.
Because of that, something that was intended to be fairly lightweight,
was actually allocating 32KB and deallocating it at the end of the
function.
parent ffe23361
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