OSDN Git Service
(root)
/
android-x86
/
external-minigbm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
gralloc0_register_buffer: initialize gralloc0 when needed
[android-x86/external-minigbm.git]
/
cros_gralloc
/
gralloc0
/
gralloc0.cc
diff --git
a/cros_gralloc/gralloc0/gralloc0.cc
b/cros_gralloc/gralloc0/gralloc0.cc
index
2aef42f
..
ff7fb3c
100644
(file)
--- a/
cros_gralloc/gralloc0/gralloc0.cc
+++ b/
cros_gralloc/gralloc0/gralloc0.cc
@@
-202,7
+202,7
@@
static int gralloc0_register_buffer(struct gralloc_module_t const *module, buffe
auto mod = (struct gralloc0_module *)module;
if (!mod->initialized)
- if (gralloc0_init(mod,
fals
e))
+ if (gralloc0_init(mod,
tru
e))
return -ENODEV;
return mod->driver->retain(handle);