diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2004-01-23 18:57:05 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2004-01-23 18:57:05 +0000 |
commit | 4d859f73fce9918381c65da55f046a7c605c9e65 (patch) | |
tree | 2936e3fdcccff08101b600e58b9a6eb6c7797a18 /src/mesa/drivers/common | |
parent | f2ce4dc7dae1a1878c182f3e06fd7d9b64ab9027 (diff) |
added device driver hooks for BindProgram, NewProgram, DeleteProgram
Diffstat (limited to 'src/mesa/drivers/common')
-rw-r--r-- | src/mesa/drivers/common/driverfuncs.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mesa/drivers/common/driverfuncs.c b/src/mesa/drivers/common/driverfuncs.c index c3f4bb6516..3c638befe7 100644 --- a/src/mesa/drivers/common/driverfuncs.c +++ b/src/mesa/drivers/common/driverfuncs.c @@ -27,6 +27,7 @@ #include "imports.h" #include "buffers.h" #include "context.h" +#include "program.h" #include "texformat.h" #include "teximage.h" #include "texobj.h" @@ -106,6 +107,11 @@ _mesa_init_driver_functions(struct dd_function_table *driver) driver->CopyConvolutionFilter1D = _swrast_CopyConvolutionFilter1D; driver->CopyConvolutionFilter2D = _swrast_CopyConvolutionFilter2D; + /* Vertex/fragment programs */ + driver->BindProgram = NULL; + driver->NewProgram = _mesa_new_program; + driver->DeleteProgram = _mesa_delete_program; + /* simple state commands */ driver->AlphaFunc = NULL; driver->BlendColor = NULL; |