aboutsummaryrefslogtreecommitdiff
path: root/src/core/core.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-08-02 11:07:07 -0400
committerLioncash <mathew1800@gmail.com>2018-08-02 11:09:46 -0400
commit807d0cf4f2f1a802fe7da5f84ae5500b531623b3 (patch)
treeef73166e1f3cebcc2a6d01292754d3106d11ec43 /src/core/core.cpp
parent7f4c5706718bd10f2c62a7543dd37a39a5ce202a (diff)
gl_shader_manager: Take ShaderSetup instances by const reference in UseProgrammableVertexShader() and UseProgrammableFragmentShader()
Avoids performing unnecessary copies of 65560 byte sized ShaderSetup instances, considering it's only used as part of lookup and not modified. Given the parameters were already const, it's likely taking these parameters by reference was intended but the ampersand was forgotten.
Diffstat (limited to 'src/core/core.cpp')
0 files changed, 0 insertions, 0 deletions