summaryrefslogtreecommitdiff
path: root/src/mesa/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r--src/mesa/drivers/common/driverfuncs.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/common/driverfuncs.c b/src/mesa/drivers/common/driverfuncs.c
index 8503135a87..9fe4ee3ad2 100644
--- a/src/mesa/drivers/common/driverfuncs.c
+++ b/src/mesa/drivers/common/driverfuncs.c
@@ -45,6 +45,7 @@
#endif
#include "driverfuncs.h"
+#include "tnl/tnl.h"
#include "swrast/swrast.h"
@@ -222,6 +223,7 @@ _mesa_init_driver_functions(struct dd_function_table *driver)
driver->NeedFlush = 0;
driver->SaveNeedFlush = 0;
+ driver->ProgramStringNotify = _tnl_program_string;
driver->FlushVertices = NULL;
driver->SaveFlushVertices = NULL;
driver->NotifySaveBegin = NULL;