projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2da0724
)
gallium: don't rely on assert(0) for error handling - may be disabled
author
Keith Whitwell
<keith@tungstengraphics.com>
Tue, 29 Jan 2008 12:37:07 +0000
(12:37 +0000)
committer
Ben Skeggs
<skeggsb@gmail.com>
Fri, 15 Feb 2008 02:50:25 +0000
(13:50 +1100)
src/mesa/state_tracker/st_draw.c
patch
|
blob
|
history
diff --git
a/src/mesa/state_tracker/st_draw.c
b/src/mesa/state_tracker/st_draw.c
index 8ef50ee768483c60727bd7a31214134f1ed34546..c9b8e78485500d496da6950a509058c218fdd004 100644
(file)
--- a/
src/mesa/state_tracker/st_draw.c
+++ b/
src/mesa/state_tracker/st_draw.c
@@
-298,6
+298,7
@@
st_draw_vbo(GLcontext *ctx,
break;
default:
assert(0);
+ return;
}
/* get/create the index buffer object */
@@
-570,6
+571,7
@@
st_feedback_draw_vbo(GLcontext *ctx,
break;
default:
assert(0);
+ return;
}
map = pipe->winsys->buffer_map(pipe->winsys,