diff options
author | Brian Paul <[email protected]> | 2005-10-28 14:32:49 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2005-10-28 14:32:49 +0000 |
commit | b5ee368baf6472a79d250f0be418200760f4b43d (patch) | |
tree | 5851de5f58d12b73c43636bf05ded26385fb8c00 /src/mesa/drivers/common | |
parent | f51bf9e23c4b41ada5edeae91b31f64319534e48 (diff) |
TNL module needs to implement ctx->Driver.ProgramStringNotify() function
so that calls to glProgramStringARB() to specify a new program causes the
TNL-attached data to get recomputed.
Diffstat (limited to 'src/mesa/drivers/common')
-rw-r--r-- | src/mesa/drivers/common/driverfuncs.c | 2 |
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; |