projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d41e694
)
vega: remove redundant functions found elsewhere
author
Brian Paul
<brianp@vmware.com>
Sun, 23 Jan 2011 18:47:03 +0000
(11:47 -0700)
committer
Brian Paul
<brianp@vmware.com>
Tue, 25 Jan 2011 01:12:49 +0000
(18:12 -0700)
src/gallium/state_trackers/vega/vgu.c
patch
|
blob
|
history
diff --git
a/src/gallium/state_trackers/vega/vgu.c
b/src/gallium/state_trackers/vega/vgu.c
index a96f2e152ff04ed1119eddf410a283e733c34c8a..4206a91e006b060ec8446feda7a3b3790f69f018 100644
(file)
--- 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,