projects
/
platform
/
upstream
/
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
709563d
..
f03f65d
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