projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e3cdbca
)
fix info log grabbing
author
Michal Krol
<mjkrol@gmail.org>
Thu, 19 May 2005 09:28:01 +0000
(09:28 +0000)
committer
Michal Krol
<mjkrol@gmail.org>
Thu, 19 May 2005 09:28:01 +0000
(09:28 +0000)
src/mesa/shader/shaderobjects_3dlabs.c
patch
|
blob
|
history
diff --git
a/src/mesa/shader/shaderobjects_3dlabs.c
b/src/mesa/shader/shaderobjects_3dlabs.c
index 709563d2e6c634eca03687d5786bbafd7c135f3e..f03f65d7016bddab366a5b3efc14ec0715af6f2f 100755
(executable)
--- a/
src/mesa/shader/shaderobjects_3dlabs.c
+++ b/
src/mesa/shader/shaderobjects_3dlabs.c
@@
-631,10
+631,10
@@
_shader_Compile (struct gl2_shader_intf **intf)
{
\r
impl->_obj.compile_status = GL_TRUE;
\r
}
\r
- else
\r
- {
\r
+ if (info_log.text != NULL)
\r
impl->_obj._generic.info_log = _mesa_strdup (info_log.text);
\r
- }
\r
+ else
\r
+ impl->_obj._generic.info_log = _mesa_strdup ("");
\r
slang_info_log_destruct (&info_log);
\r
#endif
\r
}
\r