diff options
author | Ilia Mirkin <imirkin@alum.mit.edu> | 2019-08-28 20:35:15 -0400 |
---|---|---|
committer | Ilia Mirkin <imirkin@alum.mit.edu> | 2019-08-30 20:49:58 -0400 |
commit | be24eadef7c8f71ede52997fa477ae94600efa9d (patch) | |
tree | 6dbe47ef5c815a907b6b4ca72c02511f4049500d /common.h | |
parent | f632b23a528ed6b4e1fddd774db005c30ab65568 (diff) | |
download | kmscube-be24eadef7c8f71ede52997fa477ae94600efa9d.tar.gz |
kmscube: make fb/gl config format settable on cmdline
Instead of changing the code each time, allow the fourcc to be passed
in as an argument.
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Rob Clark <robdclark@gmail.com>
Diffstat (limited to 'common.h')
-rw-r--r-- | common.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -99,7 +99,7 @@ struct gbm { int width, height; }; -const struct gbm * init_gbm(int drm_fd, int w, int h, uint64_t modifier); +const struct gbm * init_gbm(int drm_fd, int w, int h, uint32_t format, uint64_t modifier); struct egl { |