aboutsummaryrefslogtreecommitdiff
path: root/src/core/loader/elf.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-08-28 11:20:39 -0400
committerLioncash <mathew1800@gmail.com>2018-08-28 11:20:41 -0400
commit33943e09280425cbab698f58e701b074277cb509 (patch)
tree4f5a70cf5e994e0b4746aac02e27eec8f1298a7b /src/core/loader/elf.cpp
parentf727e5f0de63ee5946ac59eaae994133d1486d8e (diff)
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.
Diffstat (limited to 'src/core/loader/elf.cpp')
0 files changed, 0 insertions, 0 deletions