fix --enable-ptrhead and poly render symbol - oops

SVN revision: 27121
This commit is contained in:
Carsten Haitzler 2006-11-15 11:57:42 +00:00
parent 4021776111
commit e99a611e98
2 changed files with 3 additions and 3 deletions

View File

@ -988,13 +988,13 @@ AM_CONDITIONAL(BUILD_LOADER_SVG, test x$have_svg = xyes)
## PTHREADS
pthread_cflags=""
pthread_libs=""
build_pthreads="no"
build_pthreads="yes"
AC_MSG_CHECKING(whether to build pthread code)
AC_ARG_ENABLE(pthreads,
[ --enable-pthreads enable threaded rendering], [
if test x"$enableval" = x"yes" ; then
AC_MSG_RESULT(yes)
AC_DEFINE(BUILD_SSE, 1, [Build Threaded Rendering])
AC_DEFINE(BUILD_PTHREAD, 1, [Build Threaded Rendering])
build_pthreads="yes"
pthread_cflags=""
pthread_libs="-lpthread"

View File

@ -175,7 +175,7 @@ static void
eng_polygon_draw(void *data, void *context, void *surface, void *polygon)
{
#ifdef BUILD_PTHREAD
evas_common_pipe_polygon_draw(surface, context, polygon);
evas_common_pipe_poly_draw(surface, context, polygon);
#else
evas_common_polygon_draw(surface, context, polygon);
evas_common_cpu_end_opt();