plug in GL_EXT_framebuffer_object functions
authorBrian Paul <brian.paul@tungstengraphics.com>
Tue, 8 Feb 2005 03:46:08 +0000 (03:46 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Tue, 8 Feb 2005 03:46:08 +0000 (03:46 +0000)
src/mesa/main/state.c

index 886a571eb8d7f9d13dd1eb49d5c9915fb7f3ebb5..c3193c8cda0ff57b71a494f68e7730c77ecbbd30 100644 (file)
@@ -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
 }