diff options
author | Jakob Bornecrantz <[email protected]> | 2010-04-20 23:51:22 +0100 |
---|---|---|
committer | Jakob Bornecrantz <[email protected]> | 2010-04-20 23:53:59 +0100 |
commit | 71595a5f3f503fdb134bf394239516fed0c1ffa1 (patch) | |
tree | 61ae59ae0010cfa6215b3211952bea90cf12a706 /src | |
parent | 8a0c99b379db2c7b7d1590553237560023d9f1e2 (diff) |
st/egl: Use correct driver_name field to get kernel driver name
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/state_trackers/egl/kms/native_kms.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/egl/kms/native_kms.c b/src/gallium/state_trackers/egl/kms/native_kms.c index 79645865f3b..caf5628134d 100644 --- a/src/gallium/state_trackers/egl/kms/native_kms.c +++ b/src/gallium/state_trackers/egl/kms/native_kms.c @@ -695,7 +695,7 @@ kms_display_init_screen(struct native_display *ndpy) struct drm_create_screen_arg arg; int fd; - fd = drmOpen(kdpy->api->name, NULL); + fd = drmOpen(kdpy->api->driver_name, NULL); if (fd < 0) { _eglLog(_EGL_WARNING, "failed to open DRM device"); return FALSE; |