summaryrefslogtreecommitdiff
path: root/gfx/gl/program.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gfx/gl/program.cpp')
-rw-r--r--gfx/gl/program.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gfx/gl/program.cpp b/gfx/gl/program.cpp
index c36cc80..7791e3e 100644
--- a/gfx/gl/program.cpp
+++ b/gfx/gl/program.cpp
@@ -30,6 +30,6 @@ Program::RequiredUniformLocation::RequiredUniformLocation(GLuint program, const
UniformLocation {program, name}
{
if (location < 0) {
- throw std::logic_error("Required uniform does not exist");
+ throw std::logic_error(std::string {"Required uniform does not exist: "} + name);
}
}