summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/api_exec.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/main/api_exec.c')
-rw-r--r--src/mesa/main/api_exec.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/mesa/main/api_exec.c b/src/mesa/main/api_exec.c
index 605af381d7a..15b9f6974d7 100644
--- a/src/mesa/main/api_exec.c
+++ b/src/mesa/main/api_exec.c
@@ -55,6 +55,7 @@
#include "drawpix.h"
#include "rastpos.h"
#include "enable.h"
+#include "errors.h"
#include "eval.h"
#include "get.h"
#include "feedback.h"
@@ -598,15 +599,18 @@ _mesa_create_exec_table(void)
SET_DrawBuffersARB(exec, _mesa_DrawBuffersARB);
#endif
- /* ARB 104. GL_ARB_robustness */
+ /* ARB 66. GL_ARB_sync */
+ _mesa_init_sync_dispatch(exec);
+
+ /* ARB 104. GL_ARB_debug_output */
+ _mesa_init_errors_dispatch(exec);
+
+ /* ARB 105. GL_ARB_robustness */
SET_GetGraphicsResetStatusARB(exec, _mesa_GetGraphicsResetStatusARB);
SET_GetnPolygonStippleARB(exec, _mesa_GetnPolygonStippleARB);
SET_GetnTexImageARB(exec, _mesa_GetnTexImageARB);
SET_ReadnPixelsARB(exec, _mesa_ReadnPixelsARB);
- /* GL_ARB_sync */
- _mesa_init_sync_dispatch(exec);
-
/* GL_ATI_fragment_shader */
_mesa_init_ati_fragment_shader_dispatch(exec);