summaryrefslogtreecommitdiff
path: root/common.h
diff options
context:
space:
mode:
authorIlia Mirkin <imirkin@alum.mit.edu>2019-08-28 20:35:15 -0400
committerIlia Mirkin <imirkin@alum.mit.edu>2019-08-30 20:49:58 -0400
commitbe24eadef7c8f71ede52997fa477ae94600efa9d (patch)
tree6dbe47ef5c815a907b6b4ca72c02511f4049500d /common.h
parentf632b23a528ed6b4e1fddd774db005c30ab65568 (diff)
downloadkmscube-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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/common.h b/common.h
index d461262..6540763 100644
--- a/common.h
+++ b/common.h
@@ -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 {