summaryrefslogtreecommitdiff
path: root/src/mesa/state_tracker/st_texture.h
diff options
context:
space:
mode:
authorBryan Cain <bryancain3@gmail.com>2011-08-04 10:15:54 -0500
committerBryan Cain <bryancain3@gmail.com>2011-08-04 13:52:09 -0500
commit9adcab9cd464d659288e31e6767efb5dee3894ff (patch)
tree6c898d2efb5f906aea50c42f3216dff7aeba8ec1 /src/mesa/state_tracker/st_texture.h
parentb7e89115310628310bf458a33f2df2bf23384cf3 (diff)
st/mesa: replace duplicated create_color_map_texture() function with shared function
Diffstat (limited to 'src/mesa/state_tracker/st_texture.h')
-rw-r--r--src/mesa/state_tracker/st_texture.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_texture.h b/src/mesa/state_tracker/st_texture.h
index d50c3c9af79..b822f47cf9e 100644
--- a/src/mesa/state_tracker/st_texture.h
+++ b/src/mesa/state_tracker/st_texture.h
@@ -232,4 +232,8 @@ st_texture_image_copy(struct pipe_context *pipe,
struct pipe_resource *src, GLuint srcLevel,
GLuint face);
+
+extern struct pipe_resource *
+st_create_color_map_texture(struct gl_context *ctx);
+
#endif