[Glamor] [PATCH] Fixed some compilation warning/error or error checking.
Gaetan Nadon
memsize at videotron.ca
Tue Nov 19 05:08:19 PST 2013
On 13-11-19 02:16 AM, zhigang.gong at linux.intel.com wrote:
> From: Zhigang Gong <zhigang.gong at intel.com>
>
> There is one compilation error ,cast int to pointer, when built without
> libgbm, reported by Gaetan Nadon.
> And some error checking after memory allocation, reported by Seth Arnold.
> There are still some similar issues in the largepixmap implementation.
> They are relatively more complicate due to the heavy usage of RegionXXX
> APIs which may allocate implicitly. Will fix them in the future.
>
> Signed-off-by: Zhigang Gong <zhigang.gong at intel.com>
> ---
> src/glamor_core.c | 13 ++++++++-----
> src/glamor_egl.c | 4 +++-
> 2 files changed, 11 insertions(+), 6 deletions(-)
Compiles with no error without libgbm-dev package.
Tested-by: Gaetan Nadon <memsize at videotron.ca>
More information about the Glamor
mailing list