diff options
author | Michel Dänzer <michel@tungstengraphics.com> | 2007-11-28 19:04:54 +0100 |
---|---|---|
committer | Ben Skeggs <skeggsb@gmail.com> | 2007-12-09 12:04:36 +1100 |
commit | 72513ae3a7b4f2a0b90c46e4ef0b9c10e4c74ed2 (patch) | |
tree | b5aee2674b033634b5bb92a1265cabe2a9915e25 /src/mesa/pipe/xlib/xm_surface.c | |
parent | 47b418b8fa5fd242e9021503d6ec329ac3d56fb0 (diff) |
Move dimensions from struct pipe_region to struct pipe_surface.
Diffstat (limited to 'src/mesa/pipe/xlib/xm_surface.c')
-rw-r--r-- | src/mesa/pipe/xlib/xm_surface.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/pipe/xlib/xm_surface.c b/src/mesa/pipe/xlib/xm_surface.c index 43e5050747..2394563095 100644 --- a/src/mesa/pipe/xlib/xm_surface.c +++ b/src/mesa/pipe/xlib/xm_surface.c @@ -624,7 +624,7 @@ xmesa_new_color_surface(struct pipe_winsys *winsys, GLuint pipeFormat) * The region's size will get set in the xmesa_alloc_front/back_storage() * functions. */ - xms->surface.region = winsys->region_alloc(winsys, 1, 1, 1, 0x0); + xms->surface.region = winsys->region_alloc(winsys, 1, 0x0); return &xms->surface; } |