Re: [Mesa-dev] [PATCH kmscube 4/6] common: Use the create with modifiers interface

2017-04-14 Thread Emil Velikov
On 13 April 2017 at 19:22, Ben Widawsky wrote: > --- > common.c | 19 +++ > 1 file changed, 19 insertions(+) > > diff --git a/common.c b/common.c > index 4bf3c5a..e63bb39 100644 > --- a/common.c > +++ b/common.c > @@ -31,10 +31,23 @@ > > static struct gbm gbm;

[Mesa-dev] [PATCH kmscube 4/6] common: Use the create with modifiers interface

2017-04-13 Thread Ben Widawsky
--- common.c | 19 +++ 1 file changed, 19 insertions(+) diff --git a/common.c b/common.c index 4bf3c5a..e63bb39 100644 --- a/common.c +++ b/common.c @@ -31,10 +31,23 @@ static struct gbm gbm; +#ifndef DRM_FORMAT_MOD_LINEAR +#define DRM_FORMAT_MOD_LINEAR 0 +#endif +static int