Mercurial > hg > Members > kono > Cerium
changeset 622:6a5e88112ed9
remove non relocatable funcion call.
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Sun, 15 Nov 2009 03:55:12 +0900 |
parents | 5b178db5988a |
children | f35a9bee38a6 |
files | Renderer/Engine/spe/DrawSpan.cc Renderer/Engine/task/DrawSpan.cc |
diffstat | 2 files changed, 14 insertions(+), 10 deletions(-) [+] |
line wrap: on
line diff
--- a/Renderer/Engine/spe/DrawSpan.cc Sun Nov 15 03:34:18 2009 +0900 +++ b/Renderer/Engine/spe/DrawSpan.cc Sun Nov 15 03:55:12 2009 +0900 @@ -463,13 +463,15 @@ span = &spack->span[t]; - /** - * span の長さによって、drawLine か drawDot を選択している - */ - next_span_x - = (*drawFunc1[(span->length_x != 1)])( + if (span->length_x != 1) { + drawLine1( smanager, g, span, rangex_start, rangex_end, tl_tag[tl_tag_flg1]); + } else { + drawDot1( + smanager, g, + span, rangex_start, rangex_end, tl_tag[tl_tag_flg1]); + } next_span = span; resume_span = next_span;
--- a/Renderer/Engine/task/DrawSpan.cc Sun Nov 15 03:34:18 2009 +0900 +++ b/Renderer/Engine/task/DrawSpan.cc Sun Nov 15 03:55:12 2009 +0900 @@ -463,13 +463,15 @@ span = &spack->span[t]; - /** - * span の長さによって、drawLine か drawDot を選択している - */ - next_span_x - = (*drawFunc1[(span->length_x != 1)])( + if (span->length_x != 1) { + drawLine1( smanager, g, span, rangex_start, rangex_end, tl_tag[tl_tag_flg1]); + } else { + drawDot1( + smanager, g, + span, rangex_start, rangex_end, tl_tag[tl_tag_flg1]); + } next_span = span; resume_span = next_span;