gl: Fix shader logging

This commit is contained in:
kd-11 2020-05-29 00:52:16 +03:00 committed by kd-11
parent 542a6aed51
commit 59d44cd1cc

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";