summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/common/driverfuncs.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/drivers/common/driverfuncs.c')
-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 8503135a874..9fe4ee3ad2d 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;