summaryrefslogtreecommitdiffstats
path: root/gpu/tools/compositor_model_bench/shaders.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gpu/tools/compositor_model_bench/shaders.cc')
-rw-r--r--gpu/tools/compositor_model_bench/shaders.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gpu/tools/compositor_model_bench/shaders.cc b/gpu/tools/compositor_model_bench/shaders.cc
index 5559e73..66f5aac 100644
--- a/gpu/tools/compositor_model_bench/shaders.cc
+++ b/gpu/tools/compositor_model_bench/shaders.cc
@@ -81,7 +81,7 @@ static void TranslateInPlace(float* m, float tx, float ty, float tz) {
///////////////////////////////////////////////////////////////////////////////
-ShaderID ShaderIDFromString(std::string name) {
+ShaderID ShaderIDFromString(const std::string& name) {
if (name == "VertexShaderPosTexYUVStretch")
return VERTEX_SHADER_POS_TEX_YUV_STRETCH;
if (name == "VertexShaderPosTex")