Browse Source

build: fix PS3 and Linux compilation issues.

legacy
Sam Hocevar sam 12 years ago
parent
commit
5f66d6a751
2 changed files with 4 additions and 2 deletions
  1. +2
    -2
      configure.ac
  2. +2
    -0
      src/video.cpp

+ 2
- 2
configure.ac View File

@@ -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 View File

@@ -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…
Cancel
Save