diff options
author | 2011-04-19 15:53:12 +0000 | |
---|---|---|
committer | 2011-04-19 15:53:12 +0000 | |
commit | 34cec2416c70a2fd8e60a9f0831eaddbde7d72b5 (patch) | |
tree | a7e0a8e13795c5f8b75eaa82357dfa446cb76d3d | |
parent | 1217afe9a7a7d277224a11be30961817384420c4 (diff) |
remove static from template functions
http://codereview.appspot.com/4437055/
git-svn-id: http://skia.googlecode.com/svn/trunk@1151 2bbb7eff-a529-9590-31e7-b0007b416f81
-rw-r--r-- | gpu/src/GrDrawTarget.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gpu/src/GrDrawTarget.cpp b/gpu/src/GrDrawTarget.cpp index 1413c6d4e2..7c8e1c8bed 100644 --- a/gpu/src/GrDrawTarget.cpp +++ b/gpu/src/GrDrawTarget.cpp @@ -22,7 +22,7 @@ // recursive helper for creating mask with all the tex coord bits set for // one stage template <int N> -static int stage_mask_recur(int stage) { +int stage_mask_recur(int stage) { return GrDrawTarget::StageTexCoordVertexLayoutBit(stage, N) | stage_mask_recur<N+1>(stage); } @@ -43,7 +43,7 @@ static int stage_mask(int stage) { // recursive helper for creating mask of with all bits set relevant to one // texture coordinate index template <int N> -static int tex_coord_mask_recur(int texCoordIdx) { +int tex_coord_mask_recur(int texCoordIdx) { return GrDrawTarget::StageTexCoordVertexLayoutBit(N, texCoordIdx) | tex_coord_mask_recur<N+1>(texCoordIdx); } |