summaryrefslogtreecommitdiff
path: root/eagle.c
diff options
context:
space:
mode:
Diffstat (limited to 'eagle.c')
-rw-r--r--eagle.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/eagle.c b/eagle.c
index 5874e97..0c89432 100644
--- a/eagle.c
+++ b/eagle.c
@@ -1,5 +1,5 @@
/*
- * Copyright © 2008 Kristian Høgsberg
+ * Copyright © 2008, 2009 Kristian Høgsberg
*
* Permission to use, copy, modify, distribute, and sell this software and its
* documentation for any purpose is hereby granted without fee, provided that
@@ -162,18 +162,16 @@ eglLoadDriver(EGLDisplay display, const char *driverName)
int
eglInitDisplay(EGLDisplay display,
- struct udev_device *device, const char *driver)
+ const char *path, const char *driver)
{
const __DRIconfig **configs;
const __DRIextension **extensions;
- const char *path;
int i;
memset(display, 0, sizeof *display);
display->initialized = EGL_FALSE;
display->next_surface_id = 1;
- path = udev_device_get_devnode(device);
display->fd = open(path, O_RDWR);
if (display->fd < 0) {
fprintf(stderr,