瀏覽代碼

build: fix PS3 and Linux compilation issues.

legacy
Sam Hocevar sam 12 年之前
父節點
當前提交
5f66d6a751
共有 2 個文件被更改,包括 4 次插入2 次删除
  1. +2
    -2
      configure.ac
  2. +2
    -0
      src/video.cpp

+ 2
- 2
configure.ac 查看文件

@@ -339,8 +339,8 @@ ac_cv_my_have_pipi="no"
PKG_CHECK_MODULES(PIPI, pipi, [ac_cv_my_have_pipi="yes"], [:])
if test "${ac_cv_my_have_pipi}" != "no"; then
AC_DEFINE(USE_PIPI, 1, Define to 1 to use libpipi)
LOL_CFLAGS="${LOL_CFLAGS} ${PIPI_CFLAGS}"],
LOL_LIBS="${LOL_LIBS} ${PIPI_LIBS}"],
LOL_CFLAGS="${LOL_CFLAGS} ${PIPI_CFLAGS}"
LOL_LIBS="${LOL_LIBS} ${PIPI_LIBS}"
fi
AM_CONDITIONAL(USE_PIPI, test "${ac_cv_my_have_pipi}" != "no")



+ 2
- 0
src/video.cpp 查看文件

@@ -225,6 +225,8 @@ void Video::SetClearDepth(float f)
{
#if defined USE_D3D9 || defined _XBOX
VideoData::clear_depth = f;
#elif defined HAVE_GLES_2X
glClearDepthf(f);
#else
glClearDepth(f);
#endif


Loading…
取消
儲存