From 39c4daa6bc15a83a97c3c0b456bf1795ef9e6099 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Tue, 10 Oct 2006 21:43:31 +0000 Subject: Move the fp_machine struct into s_nvfragmprog.c since (except for program debug) it's only used there. --- src/mesa/drivers/common/driverfuncs.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/mesa/drivers/common/driverfuncs.c') diff --git a/src/mesa/drivers/common/driverfuncs.c b/src/mesa/drivers/common/driverfuncs.c index 3ccbe54817a..1e44904b930 100644 --- a/src/mesa/drivers/common/driverfuncs.c +++ b/src/mesa/drivers/common/driverfuncs.c @@ -126,6 +126,9 @@ _mesa_init_driver_functions(struct dd_function_table *driver) driver->BindProgram = NULL; driver->NewProgram = _mesa_new_program; driver->DeleteProgram = _mesa_delete_program; +#if FEATURE_MESA_program_debug + driver->GetFragmentProgramRegister = _swrast_get_program_register; +#endif /* FEATURE_MESA_program_debug */ /* simple state commands */ driver->AlphaFunc = NULL; -- cgit v1.2.3