Re: [Mesa-dev] [PATCH kmscube] cube-tex: Handle SMOOTH switch case

2017-03-16 Thread Emil Velikov
On 16 March 2017 at 00:27, Eric Engestrom wrote: > On Wednesday, 2017-03-15 18:56:53 -0300, Fabio Estevam wrote: >> In kmscube.c there is the following logic: >> >> if (mode == SMOOTH) { >> egl = init_cube_smooth(gbm); >> } else { >> egl

Re: [Mesa-dev] [PATCH kmscube] cube-tex: Handle SMOOTH switch case

2017-03-15 Thread Eric Engestrom
On Wednesday, 2017-03-15 18:56:53 -0300, Fabio Estevam wrote: > In kmscube.c there is the following logic: > > if (mode == SMOOTH) { > egl = init_cube_smooth(gbm); > } else { > egl = init_cube_tex(gbm, mode); > } > > ,which makes init_cube_tex() to

[Mesa-dev] [PATCH kmscube] cube-tex: Handle SMOOTH switch case

2017-03-15 Thread Fabio Estevam
In kmscube.c there is the following logic: if (mode == SMOOTH) { egl = init_cube_smooth(gbm); } else { egl = init_cube_tex(gbm, mode); } ,which makes init_cube_tex() to be never called on the SMOOTH case. Handle the SMOOTH switch case