[MPlayer-dev-eng] [PATCH] OS/X vo_gl2.c compile error
Steven M. Schultz
sms at 2BSD.COM
Mon Jul 5 21:39:51 CEST 2004
Hi -
cc -c -I../libvo -I../../libvo -I/usr/X11R6/include -O4 -mcpu=7450 -mtune=7450 -faltivec -pipe -ffast-math -fomit-frame-pointer -DSYS_DARWIN -DCONFIG_DARWIN -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I. -I.. -I../osdep -I/usr/X11R6/include -I/usr/X11R6/include/freetype2 -I/usr/local/include/SDL -D_THREAD_SAFE -I/usr/X11R6/include -DMPG12PLAY -o vo_gl2.o vo_gl2.c
vo_gl2.c: In function `config':
vo_gl2.c:948: error: `TEXTURE_FORMAT_ALWAYS' undeclared (first use in this function)
vo_gl2.c:948: error: (Each undeclared identifier is reported only once
vo_gl2.c:948: error: for each function it appears in.)
vo_gl2.c:949: error: `TEXTURE_FORMAT_ALWAYS_S' undeclared (first use in this function)
gmake[1]: *** [vo_gl2.o] Error 1
Couple missing '_' characters. Trivial patch to change the two
lines.
Cheers,
Steven Schultz
-------------- next part --------------
--- vo_gl2.c Mon Jul 5 12:33:37 2004
+++ vo_gl2.c.dist Sun Jul 4 13:48:38 2004
@@ -945,8 +945,8 @@
}
#ifdef TEXTUREFORMAT_ALWAYS
- gl_internal_format=TEXTUREFORMAT_ALWAYS;
- gl_internal_format_s=TEXTUREFORMAT_ALWAYS_S;
+ gl_internal_format=TEXTURE_FORMAT_ALWAYS;
+ gl_internal_format_s=TEXTURE_FORMAT_ALWAYS_S;
#endif
if (IMGFMT_IS_BGR(format))
More information about the MPlayer-dev-eng
mailing list