vega: remove redundant functions found elsewhere
authorBrian Paul <brianp@vmware.com>
Sun, 23 Jan 2011 18:47:03 +0000 (11:47 -0700)
committerBrian Paul <brianp@vmware.com>
Tue, 25 Jan 2011 01:12:49 +0000 (18:12 -0700)
src/gallium/state_trackers/vega/vgu.c

index a96f2e152ff04ed1119eddf410a283e733c34c8a..4206a91e006b060ec8446feda7a3b3790f69f018 100644 (file)
 #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,