diff options
author | Marek Olšák <[email protected]> | 2010-07-19 17:33:40 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2010-07-19 17:33:40 +0200 |
commit | d1671ceb71657a857f80322b96ab1443e9f564d6 (patch) | |
tree | 568bd59da148ff11143b067f797d207109bbf35c /src/gallium | |
parent | 7b31b235d069ab4154bfc4b1eacde6368852aaee (diff) |
r300g: fix typo
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/drivers/r300/r300_context.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r300/r300_context.c b/src/gallium/drivers/r300/r300_context.c index 0c06d41f4a4..5093c147462 100644 --- a/src/gallium/drivers/r300/r300_context.c +++ b/src/gallium/drivers/r300/r300_context.c @@ -40,7 +40,7 @@ static void r300_update_num_contexts(struct r300_screen *r300screen, int diff) { if (diff > 0) { - p_atomic_dec(&r300screen->num_contexts); + p_atomic_inc(&r300screen->num_contexts); if (r300screen->num_contexts > 1) util_mempool_set_thread_safety(&r300screen->pool_buffers, |