diff options
author | Maciej Cencora <[email protected]> | 2009-04-18 13:35:43 +0200 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2009-04-19 22:15:01 +1000 |
commit | a2d49eeaebcb9d5869e6f6d57d0aa050a825d8b6 (patch) | |
tree | d1510a0493bae02b65d650f966dc6843a9c676d1 /src/mesa/drivers/dri/r300/r300_render.c | |
parent | 300661d12a1f0ab6c81b087a2ca8c4655abf7066 (diff) |
r300: move common fp functions to seperate file
Diffstat (limited to 'src/mesa/drivers/dri/r300/r300_render.c')
-rw-r--r-- | src/mesa/drivers/dri/r300/r300_render.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_render.c b/src/mesa/drivers/dri/r300/r300_render.c index 91f58ade599..41b5e30be49 100644 --- a/src/mesa/drivers/dri/r300/r300_render.c +++ b/src/mesa/drivers/dri/r300/r300_render.c @@ -72,7 +72,8 @@ USE OR OTHER DEALINGS IN THE SOFTWARE. #include "r300_reg.h" #include "r300_tex.h" #include "r300_emit.h" -#include "r300_fragprog.h" +#include "r300_fragprog_common.h" + extern int future_hw_tcl_on; /** @@ -432,7 +433,7 @@ static int r300Fallback(GLcontext * ctx) struct r300_fragment_program *fp = (struct r300_fragment_program *) ctx->FragmentProgram._Current; if (fp && !fp->translated) { - r300->vtbl.TranslateFragmentShader(ctx, ctx->FragmentProgram._Current); + r300TranslateFragmentShader(ctx, ctx->FragmentProgram._Current); FALLBACK_IF(fp->error); } |