projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed57286
)
mesa: use driver hook for creating new renderbuffers
author
Brian Paul
<brianp@vmware.com>
Mon, 23 Aug 2010 00:54:50 +0000
(18:54 -0600)
committer
Brian Paul
<brianp@vmware.com>
Mon, 23 Aug 2010 00:54:55 +0000
(18:54 -0600)
src/mesa/main/depthstencil.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/depthstencil.c
b/src/mesa/main/depthstencil.c
index 885e718a767872687c3d586cb65f4f985d12c1fe..dbaa841645717911d585237617fbd57e2061b097 100644
(file)
--- a/
src/mesa/main/depthstencil.c
+++ b/
src/mesa/main/depthstencil.c
@@
-359,7
+359,7
@@
_mesa_new_z24_renderbuffer_wrapper(GLcontext *ctx,
dsrb->Format == MESA_FORMAT_X8_Z24);
ASSERT(dsrb->DataType == GL_UNSIGNED_INT_24_8_EXT);
- z24rb =
_mesa_new_r
enderbuffer(ctx, 0);
+ z24rb =
ctx->Driver.NewR
enderbuffer(ctx, 0);
if (!z24rb)
return NULL;
@@
-645,7
+645,7
@@
_mesa_new_s8_renderbuffer_wrapper(GLcontext *ctx, struct gl_renderbuffer *dsrb)
dsrb->Format == MESA_FORMAT_S8_Z24);
ASSERT(dsrb->DataType == GL_UNSIGNED_INT_24_8_EXT);
- s8rb =
_mesa_new_r
enderbuffer(ctx, 0);
+ s8rb =
ctx->Driver.NewR
enderbuffer(ctx, 0);
if (!s8rb)
return NULL;