projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
807ecbd
)
assertions
author
Brian
<brian@i915.localnet.net>
Thu, 9 Aug 2007 21:39:54 +0000
(15:39 -0600)
committer
Brian
<brian@i915.localnet.net>
Thu, 9 Aug 2007 21:39:54 +0000
(15:39 -0600)
src/mesa/state_tracker/st_cb_fbo.c
patch
|
blob
|
history
diff --git
a/src/mesa/state_tracker/st_cb_fbo.c
b/src/mesa/state_tracker/st_cb_fbo.c
index 02bdb5aba5367a8ce469a235b83b07d5a3bebf4b..15816bee9ec6d54fc40844b511a70a0a3ab9a141 100644
(file)
--- a/
src/mesa/state_tracker/st_cb_fbo.c
+++ b/
src/mesa/state_tracker/st_cb_fbo.c
@@
-131,6
+131,7
@@
st_renderbuffer_alloc_storage(GLcontext * ctx, struct gl_renderbuffer *rb,
const struct pipe_format_info *info = pipe_get_format_info(pipeFormat);
GLuint cpp, pitch;
+ assert(info);
if (!info)
return GL_FALSE;
@@
-147,6
+148,7
@@
st_renderbuffer_alloc_storage(GLcontext * ctx, struct gl_renderbuffer *rb,
if (!strb->surface) {
strb->surface = pipe->surface_alloc(pipe, pipeFormat);
+ assert(strb->surface);
if (!strb->surface)
return GL_FALSE;
}