gl-renderer: whitespace style clean-up
Fix some deviations from the coding style. Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.com>
This commit is contained in:
@@ -519,8 +519,7 @@ merge_down(pixman_box32_t *a, pixman_box32_t *b, pixman_box32_t *merge)
|
||||
}
|
||||
|
||||
static int
|
||||
compress_bands(pixman_box32_t *inrects, int nrects,
|
||||
pixman_box32_t **outrects)
|
||||
compress_bands(pixman_box32_t *inrects, int nrects, pixman_box32_t **outrects)
|
||||
{
|
||||
bool merged = false;
|
||||
pixman_box32_t *out, merge_rect;
|
||||
@@ -555,7 +554,8 @@ compress_bands(pixman_box32_t *inrects, int nrects,
|
||||
}
|
||||
|
||||
static int
|
||||
texture_region(struct weston_view *ev, pixman_region32_t *region,
|
||||
texture_region(struct weston_view *ev,
|
||||
pixman_region32_t *region,
|
||||
pixman_region32_t *surf_region)
|
||||
{
|
||||
struct gl_surface_state *gs = get_surface_state(ev->surface);
|
||||
@@ -1844,7 +1844,8 @@ gl_renderer_read_pixels(struct weston_output *output,
|
||||
return 0;
|
||||
}
|
||||
|
||||
static GLenum gl_format_from_internal(GLenum internal_format)
|
||||
static GLenum
|
||||
gl_format_from_internal(GLenum internal_format)
|
||||
{
|
||||
switch (internal_format) {
|
||||
case GL_R8_EXT:
|
||||
|
||||
Reference in New Issue
Block a user