diff options
Diffstat (limited to 'src/mesa/drivers/dri/r300/compiler/radeon_pair_translate.c')
-rw-r--r-- | src/mesa/drivers/dri/r300/compiler/radeon_pair_translate.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/r300/compiler/radeon_pair_translate.c b/src/mesa/drivers/dri/r300/compiler/radeon_pair_translate.c index 2ba25d2601..ff82584466 100644 --- a/src/mesa/drivers/dri/r300/compiler/radeon_pair_translate.c +++ b/src/mesa/drivers/dri/r300/compiler/radeon_pair_translate.c @@ -225,7 +225,7 @@ static void set_pair_instruction(struct r300_fragment_program_compiler *c, source = rc_pair_alloc_source(pair, srcrgb, srcalpha, inst->SrcReg[i].File, inst->SrcReg[i].Index); if (source < 0) { - rc_error(c, "Failed to translate " + rc_error(&c->Base, "Failed to translate " "rgb instruction.\n"); return; } @@ -245,7 +245,7 @@ static void set_pair_instruction(struct r300_fragment_program_compiler *c, source = rc_pair_alloc_source(pair, srcrgb, srcalpha, inst->SrcReg[i].File, inst->SrcReg[i].Index); if (source < 0) { - rc_error(c, "Failed to translate " + rc_error(&c->Base, "Failed to translate " "alpha instruction.\n"); return; } |