diff options
author | Brian <brian.paul@tungstengraphics.com> | 2007-10-26 10:45:42 -0600 |
---|---|---|
committer | Brian <brian.paul@tungstengraphics.com> | 2007-10-26 10:45:42 -0600 |
commit | e4f6f0ec02133e9297c3f2db787dee14bf0ae6e1 (patch) | |
tree | a5706d83a96964b2cf63cd66ca25ed63641b4a56 /src/mesa/state_tracker | |
parent | f7be1b419aab80c4e011183611964eb4d7c023c2 (diff) |
surface_alloc() is now a winsys function.
This allows surfaces to be allocated without a rendering context.
A few loose ends to resolve, but in working condition.
Diffstat (limited to 'src/mesa/state_tracker')
-rw-r--r-- | src/mesa/state_tracker/st_cb_fbo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_cb_fbo.c b/src/mesa/state_tracker/st_cb_fbo.c index f22132b3cf..160edc4274 100644 --- a/src/mesa/state_tracker/st_cb_fbo.c +++ b/src/mesa/state_tracker/st_cb_fbo.c @@ -84,7 +84,7 @@ st_renderbuffer_alloc_storage(GLcontext * ctx, struct gl_renderbuffer *rb, cpp = info->size; if (!strb->surface) { - strb->surface = pipe->surface_alloc(pipe, pipeFormat); + strb->surface = pipe->winsys->surface_alloc(pipe->winsys, pipeFormat); assert(strb->surface); if (!strb->surface) return GL_FALSE; |