use _mesa_get_program_register()
authorBrian <brian@yutani.localnet.net>
Thu, 22 Feb 2007 23:08:30 +0000 (16:08 -0700)
committerBrian <brian@yutani.localnet.net>
Thu, 22 Feb 2007 23:08:30 +0000 (16:08 -0700)
src/mesa/drivers/common/driverfuncs.c

index bc637a879e37e9192bc6e2596a2ccc73456d357a..ee96339f127cb9555a42de23234d1f3580e6a50a 100644 (file)
@@ -30,6 +30,7 @@
 #include "framebuffer.h"
 #include "occlude.h"
 #include "program.h"
+#include "prog_execute.h"
 #include "renderbuffer.h"
 #include "texcompress.h"
 #include "texformat.h"
@@ -128,7 +129,7 @@ _mesa_init_driver_functions(struct dd_function_table *driver)
    driver->NewProgram = _mesa_new_program;
    driver->DeleteProgram = _mesa_delete_program;
 #if FEATURE_MESA_program_debug
-   driver->GetFragmentProgramRegister = _swrast_get_program_register;
+   driver->GetFragmentProgramRegister = _mesa_get_program_register;
 #endif /* FEATURE_MESA_program_debug */
 
    /* simple state commands */