gl: Fix shader logging

This commit is contained in:
kd-11 authored and kd-11 committed 2020-05-30 14:47:10 +03:00
1 parent 542a6aed51
commit 59d44cd1cc
1 file changed
+1 -1
+1 -1
View File
@@ -2466,7 +2466,7 @@ public:
if (g_cfg.video.log_programs)
{
std::string base_name;
switch (shader_type)
switch (type)
{
case ::glsl::program_domain::glsl_vertex_program:
base_name = "shaderlog/VertexProgram";