diff options
author | Brian Paul <[email protected]> | 2005-02-08 03:46:08 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2005-02-08 03:46:08 +0000 |
commit | 386e997f450649f105f0986c3b55faae42e4349c (patch) | |
tree | 53a02b078d190f0bde0b7d34ee281cdcbd72f7f3 /src/mesa/main | |
parent | 3d2e10564e8ee9041ffc3cb12f323351fb05dabf (diff) |
plug in GL_EXT_framebuffer_object functions
Diffstat (limited to 'src/mesa/main')
-rw-r--r-- | src/mesa/main/state.c | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/mesa/main/state.c b/src/mesa/main/state.c index 886a571eb8d..c3193c8cda0 100644 --- a/src/mesa/main/state.c +++ b/src/mesa/main/state.c @@ -58,6 +58,9 @@ #include "get.h" #include "feedback.h" #include "fog.h" +#if FEATURE_EXT_framebuffer_object +#include "fbobject.h" +#endif #include "hint.h" #include "histogram.h" #include "imports.h" @@ -771,6 +774,26 @@ _mesa_init_exec_table(struct _glapi_table *exec) exec->AlphaFragmentOp3ATI = _mesa_AlphaFragmentOp3ATI; exec->SetFragmentShaderConstantATI = _mesa_SetFragmentShaderConstantATI; #endif + +#if FEATURE_EXT_framebuffer_object + exec->IsRenderbufferEXT = _mesa_IsRenderbufferEXT; + exec->BindRenderbufferEXT = _mesa_BindRenderbufferEXT; + exec->DeleteRenderbuffersEXT = _mesa_DeleteRenderbuffersEXT; + exec->GenRenderbuffersEXT = _mesa_GenRenderbuffersEXT; + exec->RenderbufferStorageEXT = _mesa_RenderbufferStorageEXT; + exec->GetRenderbufferParameterivEXT = _mesa_GetRenderbufferParameterivEXT; + exec->IsFramebufferEXT = _mesa_IsFramebufferEXT; + exec->BindFramebufferEXT = _mesa_BindFramebufferEXT; + exec->DeleteFramebuffersEXT = _mesa_DeleteFramebuffersEXT; + exec->GenFramebuffersEXT = _mesa_GenFramebuffersEXT; + exec->CheckFramebufferStatusEXT = _mesa_CheckFramebufferStatusEXT; + exec->FramebufferTexture1DEXT = _mesa_FramebufferTexture1DEXT; + exec->FramebufferTexture2DEXT = _mesa_FramebufferTexture2DEXT; + exec->FramebufferTexture3DEXT = _mesa_FramebufferTexture3DEXT; + exec->FramebufferRenderbufferEXT = _mesa_FramebufferRenderbufferEXT; + exec->GetFramebufferAttachmentParameterivEXT = _mesa_GetFramebufferAttachmentParameterivEXT; + exec->GenerateMipmapEXT = _mesa_GenerateMipmapEXT; +#endif } |