[PATCH 2/3] vega: remove redundant functions found elsewhere

Brian Paul brianp at vmware.com
Mon Jan 3 10:12:06 PST 2011


---
 src/gallium/state_trackers/vega/vgu.c |   10 ----------
 1 files changed, 0 insertions(+), 10 deletions(-)

diff --git a/src/gallium/state_trackers/vega/vgu.c b/src/gallium/state_trackers/vega/vgu.c
index a96f2e1..4206a91 100644
--- a/src/gallium/state_trackers/vega/vgu.c
+++ b/src/gallium/state_trackers/vega/vgu.c
@@ -37,16 +37,6 @@
 #include <math.h>
 #include <assert.h>
 
-static VGboolean is_aligned_to(const void *ptr, VGbyte alignment)
-{
-   void *aligned = align_pointer(ptr, alignment);
-   return (ptr == aligned) ? VG_TRUE : VG_FALSE;
-}
-
-static VGboolean is_aligned(const void *ptr)
-{
-   return is_aligned_to(ptr, 4);
-}
 
 static void vgu_append_float_coords(VGPath path,
                                     const VGubyte *cmds,
-- 
1.7.3.4


--------------000306060209050701080001
Content-Type: text/plain;
 name="0003-vega-implement-handler-pointer-conversion-using-a-ha.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename*0="0003-vega-implement-handler-pointer-conversion-using-a-ha.pa";
 filename*1="tch"



More information about the mesa-dev mailing list