diff options
author | Connor Behan <connor.behan@gmail.com> | 2014-08-23 01:19:25 -0400 |
---|---|---|
committer | Connor Behan <connor.behan@gmail.com> | 2014-08-23 01:26:38 -0400 |
commit | 089c81ed6b6efc4610e0c5e5fcb36dfd58b83439 (patch) | |
tree | 4fb787ef2cfa5238724443b158f316c58b1e2439 /src/r128_video.c | |
parent | 0519b7b3aac61dfd57cbf3bb0da561ca9bd079cb (diff) |
Fix whitespace near panel code
This has been bugging me.
Signed-off-by: Connor Behan <connor.behan@gmail.com>
Diffstat (limited to 'src/r128_video.c')
-rw-r--r-- | src/r128_video.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/r128_video.c b/src/r128_video.c index 9da56ff..cac4301 100644 --- a/src/r128_video.c +++ b/src/r128_video.c @@ -574,16 +574,16 @@ R128CopyData420( uint32_t R128AllocateMemory( - ScrnInfoPtr pScrn, - void **mem_struct, - int size, - int align, - Bool need_accel + ScrnInfoPtr pScrn, + void **mem_struct, + int size, + int align, + Bool need_accel ){ - R128InfoPtr info = R128PTR(pScrn); - ScreenPtr pScreen = xf86ScrnToScreen(pScrn); - Bool do_linear = !need_accel; - uint32_t offset = 0; + R128InfoPtr info = R128PTR(pScrn); + ScreenPtr pScreen = xf86ScrnToScreen(pScrn); + Bool do_linear = !need_accel; + uint32_t offset = 0; #ifdef HAVE_XAA_H if (!info->accel && need_accel) @@ -608,7 +608,7 @@ R128AllocateMemory( offset = area->offset; } #endif - if (!info->useEXA && do_linear) { + if (!info->useEXA && do_linear) { FBLinearPtr linear = *mem_struct; int cpp = info->CurrentLayout.pixel_bytes; @@ -643,9 +643,9 @@ R128AllocateMemory( } offset = linear->offset * cpp; - } + } - return offset; + return offset; } static void |