Wrong open call
parent
c8b45e9362
commit
2ceafcccb7
|
@ -123,7 +123,7 @@ struct demo_driver* demoCreateDriver(void)
|
|||
|
||||
memset(driver, 0, sizeof(struct demo_driver));
|
||||
|
||||
driver->fd = drmOpen("i915", NULL);
|
||||
driver->fd = drmOpenControl(0);
|
||||
|
||||
if (driver->fd < 0) {
|
||||
printf("Failed to open the card fb\n");
|
||||
|
|
Loading…
Reference in New Issue