OSDN Git Service

cros_gralloc_driver: init_master: set try_generic argument to true
authorMauro Rossi <issor.oruam@gmail.com>
Sat, 19 Dec 2020 22:34:00 +0000 (23:34 +0100)
committerMauro Rossi <issor.oruam@gmail.com>
Tue, 29 Dec 2020 12:54:30 +0000 (13:54 +0100)
commit3ddf55c60d85314cd13ceb2ad79365f736a03156
treee1aa9580a820dfacce31f190bacca412af6d015d
parentaf6e5afba0ddcd067a36781dbb652ed4040a0cbb
cros_gralloc_driver: init_master: set try_generic argument to true

Fixes the following building error:

external/minigbm/cros_gralloc/cros_gralloc_driver.cc:169:10: error: no matching function for call to 'drv_create'
                drv_ = drv_create(fd);
                       ^~~~~~~~~~
external/minigbm/drv.h:122:16: note: candidate function not viable: requires 2 arguments, but 1 was provided
struct driver *drv_create(int fd, bool try_generic);
               ^
1 error generated.

Change-Id: I82555ecfd96d7e6ab5423a0640c410118ee77c4f
cros_gralloc/cros_gralloc_driver.cc