This release fixes a file descriptor leak when the library is initialized, and adds support for the DRI_PRIME environment variable, so that the appropriate DRI2 device is queried. It also fixes a few compile-time warnings and a Coverity dead code warning.