mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 19:58:09 +02:00
fix info log grabbing
This commit is contained in:
parent
e3cdbca63f
commit
216f89318e
1 changed files with 3 additions and 3 deletions
|
|
@ -631,10 +631,10 @@ _shader_Compile (struct gl2_shader_intf **intf)
|
|||
{
|
||||
impl->_obj.compile_status = GL_TRUE;
|
||||
}
|
||||
else
|
||||
{
|
||||
if (info_log.text != NULL)
|
||||
impl->_obj._generic.info_log = _mesa_strdup (info_log.text);
|
||||
}
|
||||
else
|
||||
impl->_obj._generic.info_log = _mesa_strdup ("");
|
||||
slang_info_log_destruct (&info_log);
|
||||
#endif
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue