Kod: Zaznacz cały
release-x86-Linux-2.1/full/unix/linux_glimp.c: In function 'GLW_InitGamma':
release-x86-Linux-2.1/full/unix/linux_glimp.c:1251: error: 'vidmode_InitialGamma' undeclared (first use in this function)
cons: *** [release-x86-Linux-2.1/full/unix/linux_glimp.o] Error 1
cons: errors constructing release-x86-Linux-2.1/full/unix/linux_glimp.o
Kod: Zaznacz cały
XF86VidModeGetGamma( dpy, scrnum, &vidmode_InitialGamma );
Kod: Zaznacz cały
static void GLW_InitGamma() {
/* Minimum extension version required */
#define GAMMA_MINMAJOR 2
#define GAMMA_MINMINOR 0
glConfig.deviceSupportsGamma = qfalse;
if ( vidmode_ext ) {
if ( vidmode_MajorVersion < GAMMA_MINMAJOR ||
( vidmode_MajorVersion == GAMMA_MINMAJOR && vidmode_MinorVersion < GAMMA_MINMINOR ) ) {
ri.Printf( PRINT_ALL, "XF86 Gamma extension not supported in this version\n" );
return;
}
XF86VidModeGetGamma( dpy, scrnum, &vidmode_InitialGamma );
ri.Printf( PRINT_ALL, "XF86 Gamma extension initialized\n" );
glConfig.deviceSupportsGamma = qtrue;
}
}
Kod: Zaznacz cały
release-x86-Linux-2.1/full/unix/linux_glimp.c: In function 'GLW_InitGamma':
release-x86-Linux-2.1/full/unix/linux_glimp.c:1241: error: 'define' undeclared (first use in this function)
release-x86-Linux-2.1/full/unix/linux_glimp.c:1241: error: expected ';' before 'GAMMA_MINMINOR'
release-x86-Linux-2.1/full/unix/linux_glimp.c:1247: error: 'GAMMA_MINMINOR' undeclared (first use in this function)
release-x86-Linux-2.1/full/unix/linux_glimp.c:1251: error: 'vidmode_InitialGamma' undeclared (first use in this function)
cons: *** [release-x86-Linux-2.1/full/unix/linux_glimp.o] Error 1
cons: errors constructing release-x86-Linux-2.1/full/unix/linux_glimp.o