diff options
author | Eric Anholt <eric@anholt.net> | 2009-08-07 18:05:29 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2009-08-07 18:20:24 -0700 |
commit | 222b52ef16895823fbf3a0fc0be4eb23b930ed1b (patch) | |
tree | efd76ffbd4c1aa2243f90e7cc2ab42a8c379d5a0 /src/i965_video.c | |
parent | 62494407e529cfa68529b7267155a12d75418f21 (diff) |
Align tiled pixmap height so we don't address beyond the end of our buffers.
Diffstat (limited to 'src/i965_video.c')
-rw-r--r-- | src/i965_video.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/i965_video.c b/src/i965_video.c index 805b33f4..46a461f7 100644 --- a/src/i965_video.c +++ b/src/i965_video.c @@ -131,9 +131,6 @@ static const uint32_t ps_kernel_planar_static_gen5[][4] = { #include "exa_wm_write.g4b.gen5" }; -#define ALIGN(i,m) (((i) + (m) - 1) & ~((m) - 1)) -#define MIN(a,b) ((a) < (b) ? (a) : (b)) - static uint32_t float_to_uint (float f) { union {uint32_t i; float f;} x; x.f = f; |