mirror of
https://github.com/X11Libre/xf86-video-ati.git
synced 2026-03-24 01:24:43 +00:00
Bug #4829: Remove some useless DRI symbol checks.
This commit is contained in:
@@ -1087,7 +1087,6 @@ Bool ATIDRIScreenInit( ScreenPtr pScreen )
|
||||
* for known symbols in each module.
|
||||
*/
|
||||
if ( !xf86LoaderCheckSymbol("GlxSetVisualConfigs") ) return FALSE;
|
||||
if ( !xf86LoaderCheckSymbol("DRIScreenInit") ) return FALSE;
|
||||
if ( !xf86LoaderCheckSymbol("drmAvailable") ) return FALSE;
|
||||
if ( !xf86LoaderCheckSymbol("DRIQueryVersion") ) {
|
||||
xf86DrvMsg( pScreen->myNum, X_ERROR,
|
||||
|
||||
@@ -977,7 +977,6 @@ Bool R128DRIScreenInit(ScreenPtr pScreen)
|
||||
/* Check that the GLX, DRI, and DRM modules have been loaded by testing
|
||||
* for known symbols in each module. */
|
||||
if (!xf86LoaderCheckSymbol("GlxSetVisualConfigs")) return FALSE;
|
||||
if (!xf86LoaderCheckSymbol("DRIScreenInit")) return FALSE;
|
||||
if (!xf86LoaderCheckSymbol("drmAvailable")) return FALSE;
|
||||
if (!xf86LoaderCheckSymbol("DRIQueryVersion")) {
|
||||
xf86DrvMsg(pScreen->myNum, X_ERROR,
|
||||
|
||||
@@ -1211,7 +1211,6 @@ Bool RADEONDRIScreenInit(ScreenPtr pScreen)
|
||||
* for known symbols in each module.
|
||||
*/
|
||||
if (!xf86LoaderCheckSymbol("GlxSetVisualConfigs")) return FALSE;
|
||||
if (!xf86LoaderCheckSymbol("DRIScreenInit")) return FALSE;
|
||||
if (!xf86LoaderCheckSymbol("drmAvailable")) return FALSE;
|
||||
if (!xf86LoaderCheckSymbol("DRIQueryVersion")) {
|
||||
xf86DrvMsg(pScreen->myNum, X_ERROR,
|
||||
|
||||
Reference in New Issue
Block a user