diff options
author | qctecmdr <qctecmdr@localhost> | 2021-08-05 09:21:12 -0700 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2021-08-05 09:21:12 -0700 |
commit | 64c7bcf1fe50345db9ba349a503e5714d5d8dce9 (patch) | |
tree | b3cfaf3b41d90bc6d71cd169fe4754f21f39ced2 | |
parent | 0f4c54638405a62fe228e50d462dd5dabc4232c4 (diff) | |
parent | 380ae96e7177ad76698ab294178e68472d3a102a (diff) |
Merge "composer: Initialize GLColorConvert to nullptr."
-rw-r--r-- | composer/hwc_display_virtual_gpu.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/composer/hwc_display_virtual_gpu.h b/composer/hwc_display_virtual_gpu.h index b3ff0b8b..b106e4d5 100644 --- a/composer/hwc_display_virtual_gpu.h +++ b/composer/hwc_display_virtual_gpu.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2019-2020, The Linux Foundation. All rights reserved. + * Copyright (c) 2019-2021, The Linux Foundation. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are @@ -76,7 +76,7 @@ class HWCDisplayVirtualGPU : public HWCDisplayVirtual, SyncTask<ColorConvertTaskCode>::TaskContext *task_context); SyncTask<ColorConvertTaskCode> color_convert_task_; - GLColorConvert *gl_color_convert_; + GLColorConvert *gl_color_convert_ = nullptr; bool disable_animation_ = false; bool animation_in_progress_ = false; |