diff options
author | Boram Park <boram1288.park@samsung.com> | 2017-09-04 17:13:30 +0900 |
---|---|---|
committer | SooChan Lim <sc1.lim@samsung.com> | 2017-09-04 08:39:06 +0000 |
commit | 93ca7a4b15464acd97f7ef9bcc82ded0ee3371bb (patch) | |
tree | 4c1e9155a7c95f5552c4f6fdbdd7512d206b7eba | |
parent | 3a4feb9edce5dd7297cbf5259547b4f0bbfdb04c (diff) | |
download | libtdm-drm-93ca7a4b15464acd97f7ef9bcc82ded0ee3371bb.tar.gz libtdm-drm-93ca7a4b15464acd97f7ef9bcc82ded0ee3371bb.tar.bz2 libtdm-drm-93ca7a4b15464acd97f7ef9bcc82ded0ee3371bb.zip |
correct layer format information
Change-Id: I6d4ced2917e01d6e1e5cec08b864bbb7278902e7
-rw-r--r-- | src/tdm_drm_display.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tdm_drm_display.c b/src/tdm_drm_display.c index fb64607..ea500df 100644 --- a/src/tdm_drm_display.c +++ b/src/tdm_drm_display.c @@ -1504,7 +1504,7 @@ drm_layer_get_capability(tdm_layer *layer, tdm_caps_layer *caps) if (plane->formats[i] != DRM_FORMAT_XRGB8888 && plane->formats[i] != DRM_FORMAT_ARGB8888) continue; - caps->formats[i] = tdm_drm_format_to_tbm_format(plane->formats[i]); + caps->formats[format_count] = tdm_drm_format_to_tbm_format(plane->formats[i]); format_count++; } |