Only enable DRI for 16bpp mode. Allow GL_BLEND if color is 0,0,0,1 Wrap

grTexLodBiasValue call Link math library into libGL Recognize Napalm
    boards Allow CLUT/gamma changes Make driver compile on 2.2.14 kernel
main
Daryll Strauss 2000-04-09 17:29:28 +00:00
parent 1dcfddf915
commit 42f526b5ca
1 changed files with 3 additions and 2 deletions

View File

@ -211,10 +211,11 @@ int drm_write_string(drm_device_t *dev, const char *s)
send -= count;
}
#if LINUX_VERSION_CODE < 0x020315
#if LINUX_VERSION_CODE < 0x02020e || \
( LINUX_VERSION_CODE > 0x020300 && LINUX_VERSION_CODE < 0x020315 )
if (dev->buf_async) kill_fasync(dev->buf_async, SIGIO);
#else
/* Parameter added in 2.3.21 */
/* Parameter added in 2.2.14 and 2.3.21 */
if (dev->buf_async) kill_fasync(dev->buf_async, SIGIO, POLL_IN);
#endif
DRM_DEBUG("waking\n");