Initialize GL_ARB_occlusion_query only if DRM support is present.
authorKeith Packard <keithp@neko.keithp.com>
Sun, 7 Jan 2007 01:13:29 +0000 (17:13 -0800)
committerKeith Packard <keithp@neko.keithp.com>
Sun, 7 Jan 2007 01:13:29 +0000 (17:13 -0800)
commit9311c29558156859c6b26389c1b20a25d361d39d
tree203f203c1ea16e27f36c0c2d0ac3be19bb0aabab
parent8c1cc5fd8084e7a927b15c88709a615fa16b06a3
Initialize GL_ARB_occlusion_query only if DRM support is present.

DRM versions before 1.8 do not include the necessary ioctls to support
GL_ARB_occlusion_query, don't enable it on these versions.
src/mesa/drivers/dri/i965/intel_context.c