summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetri Hintukainen <phintuka@users.sourceforge.net>2012-07-16 22:01:42 +0300
committerPetri Hintukainen <phintuka@users.sourceforge.net>2012-07-16 22:01:42 +0300
commitbc666e1b59743913ecd1d70ab28fe6c067cdd6a1 (patch)
tree9447cbefd5aceeba402ddbede92530075d0aa8d2
parent447d3a0984575e531b4c82cb0f6e261864514aa7 (diff)
downloadxine-lib-bc666e1b59743913ecd1d70ab28fe6c067cdd6a1.tar.gz
xine-lib-bc666e1b59743913ecd1d70ab28fe6c067cdd6a1.tar.bz2
silence warnings from opengl2 check
-rw-r--r--m4/video_out.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/m4/video_out.m4 b/m4/video_out.m4
index aa8b311d5..5cd9854fd 100644
--- a/m4/video_out.m4
+++ b/m4/video_out.m4
@@ -207,7 +207,7 @@ AC_DEFUN([XINE_VIDEO_OUT_PLUGINS], [
AC_MSG_CHECKING([for OpenGL 2.0])
ac_save_LIBS="$LIBS"
LIBS="$LIBS $X_LIBS -lGL -lm"
- AC_LINK_IFELSE(AC_LANG_PROGRAM([[
+ AC_LINK_IFELSE([AC_LANG_PROGRAM([[
#define GL_GLEXT_PROTOTYPES
#include <GL/gl.h>
#include <GL/glext.h>
@@ -224,7 +224,7 @@ AC_DEFUN([XINE_VIDEO_OUT_PLUGINS], [
/* GL_ARB_framebuffer_object */
glFramebufferTexture2D (GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_RECTANGLE_ARB, 2, 0);
/* GL_ARB_shader_objects */
- glGetUniformLocationARB (3, "tex");]]),
+ glGetUniformLocationARB (3, "tex");]])],
[have_opengl2=yes], [have_opengl2=no])
LIBS="$ac_save_LIBS"
AC_MSG_RESULT($have_opengl2)