Wrong open call

main
Jakob Bornecrantz 2008-02-07 19:32:20 +01:00
parent c8b45e9362
commit 2ceafcccb7
1 changed files with 1 additions and 1 deletions

View File

@ -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");