diff options
author | Ben Skeggs <skeggsb@gmail.com> | 2008-01-20 10:38:35 +1100 |
---|---|---|
committer | Ben Skeggs <skeggsb@gmail.com> | 2008-01-20 10:38:35 +1100 |
commit | df09ed9d1ecf11be14ee7f189273c14375fbaa57 (patch) | |
tree | 7322a2670877dff003f57a5485c9e92226b57167 /src/mesa/pipe/p_winsys.h | |
parent | 0feec292ddc279998a1e25c10ea70d211f7b4b62 (diff) | |
parent | a1f4a5e802ad62c88fca6834b9de1c83672230a6 (diff) |
Merge branch 'upstream-gallium-0.1' into darktama-gallium-0.1
Diffstat (limited to 'src/mesa/pipe/p_winsys.h')
-rw-r--r-- | src/mesa/pipe/p_winsys.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mesa/pipe/p_winsys.h b/src/mesa/pipe/p_winsys.h index aa9362ec0b..75c6dc7e85 100644 --- a/src/mesa/pipe/p_winsys.h +++ b/src/mesa/pipe/p_winsys.h @@ -79,7 +79,10 @@ struct pipe_winsys /** allocate a new surface (no context dependency) */ struct pipe_surface *(*surface_alloc)(struct pipe_winsys *ws); - /** allocate storage for a pipe_surface */ + /** + * Allocate storage for a pipe_surface. + * Returns 0 if succeeds. + */ int (*surface_alloc_storage)(struct pipe_winsys *ws, struct pipe_surface *surf, unsigned width, unsigned height, |