diff options
author | Maciej Cencora <[email protected]> | 2009-07-11 16:16:11 +0200 |
---|---|---|
committer | Maciej Cencora <[email protected]> | 2009-07-13 19:28:13 +0200 |
commit | ec854729d12a533ed00b9a9e6a5942aede2f5d1e (patch) | |
tree | 8d52be73b302f58132fb70d4bac0faab3dd52396 /src/mesa/drivers | |
parent | 48cc352a71c728e0ce092dd7d7ec0945db304907 (diff) |
r300: fix indentation
Reported-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r-- | src/mesa/drivers/dri/r300/r300_fragprog_common.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_fragprog_common.c b/src/mesa/drivers/dri/r300/r300_fragprog_common.c index d5ef18b2ad8..c7914649dd5 100644 --- a/src/mesa/drivers/dri/r300/r300_fragprog_common.c +++ b/src/mesa/drivers/dri/r300/r300_fragprog_common.c @@ -368,10 +368,10 @@ struct r300_fragment_program *r300SelectFragmentShader(GLcontext *ctx) fp = fp_list->progs; while (fp) { - if (_mesa_memcmp(&fp->state, &state, sizeof(state)) == 0) { - return r300->selected_fp = fp; - } - fp = fp->next; + if (_mesa_memcmp(&fp->state, &state, sizeof(state)) == 0) { + return r300->selected_fp = fp; + } + fp = fp->next; } fp = _mesa_calloc(sizeof(struct r300_fragment_program)); |