diff options
Diffstat (limited to 'src/glx/dri_glx.c')
-rw-r--r-- | src/glx/dri_glx.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/glx/dri_glx.c b/src/glx/dri_glx.c index 0cd7cca74fb..9bfcb0c082a 100644 --- a/src/glx/dri_glx.c +++ b/src/glx/dri_glx.c @@ -916,6 +916,8 @@ driCreateScreen(int screen, struct glx_display *priv) return &psc->base; cleanup: + CriticalErrorMessageF("failed to load driver: %s\n", driverName); + if (psc->driver) dlclose(psc->driver); glx_screen_cleanup(&psc->base); |