diff options
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r-- | src/gallium/drivers/swr/swr_state.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/swr/swr_state.cpp b/src/gallium/drivers/swr/swr_state.cpp index 9f6b5b0d915..fc835dc1867 100644 --- a/src/gallium/drivers/swr/swr_state.cpp +++ b/src/gallium/drivers/swr/swr_state.cpp @@ -1570,7 +1570,7 @@ swr_set_so_targets(struct pipe_context *pipe, struct swr_context *swr = swr_context(pipe); uint32_t i; - assert(num_targets < MAX_SO_STREAMS); + assert(num_targets <= MAX_SO_STREAMS); for (i = 0; i < num_targets; i++) { pipe_so_target_reference( |