diff options
author | Brian Paul <[email protected]> | 2006-10-10 21:43:31 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2006-10-10 21:43:31 +0000 |
commit | 39c4daa6bc15a83a97c3c0b456bf1795ef9e6099 (patch) | |
tree | 577143aee8c5108f4370daaa610458c1ad9c48e8 /src/mesa/drivers/common/driverfuncs.c | |
parent | 97a659337e6effe439434258350498311052f4af (diff) |
Move the fp_machine struct into s_nvfragmprog.c since (except for program
debug) it's only used there.
Diffstat (limited to 'src/mesa/drivers/common/driverfuncs.c')
-rw-r--r-- | src/mesa/drivers/common/driverfuncs.c | 3 |
1 files changed, 3 insertions, 0 deletions
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; |