summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/p_context.h
diff options
context:
space:
mode:
authorBrian <brian.paul@tungstengraphics.com>2007-08-10 12:13:48 -0600
committerBrian <brian.paul@tungstengraphics.com>2007-08-10 12:14:25 -0600
commit9ac1a8d416c2bd50ca10186ca09f5e86f6fa4ce6 (patch)
tree39ac2f23794da71ec1aaf4e1629bdd889baf1b91 /src/mesa/pipe/p_context.h
parent519aacef031e3271e16693308ca462346a8a160c (diff)
pipe->region_alloc() now takes width instead of pitch, plus a flags param
Diffstat (limited to 'src/mesa/pipe/p_context.h')
-rw-r--r--src/mesa/pipe/p_context.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/pipe/p_context.h b/src/mesa/pipe/p_context.h
index b5dd149603..7eb492816b 100644
--- a/src/mesa/pipe/p_context.h
+++ b/src/mesa/pipe/p_context.h
@@ -140,7 +140,8 @@ struct pipe_context {
* Some of these may go away...
*/
struct pipe_region *(*region_alloc)(struct pipe_context *pipe,
- GLuint cpp, GLuint pitch, GLuint height);
+ GLuint cpp, GLuint width, GLuint height,
+ GLbitfield flags);
void (*region_release)(struct pipe_context *pipe, struct pipe_region **r);