summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Brenneman <kbrenneman@nvidia.com>2016-04-05 12:58:17 -0600
committerKyle Brenneman <kbrenneman@nvidia.com>2016-04-05 12:58:17 -0600
commitcc0892bb1ce9940f415d4c6bddc3cef5b64a378a (patch)
tree1fa8252d7577260c9d13eee474794397ff2b5418
parent2b668b0f7b148889d13702ccdc5e7a352cc2800a (diff)
GLX: Add app_error_check.c to libGLX.
Added app_error_check.c to libGLX, and initialize it from __glxInit.
-rw-r--r--src/GLX/Makefile.am1
-rw-r--r--src/GLX/libglx.c2
2 files changed, 3 insertions, 0 deletions
diff --git a/src/GLX/Makefile.am b/src/GLX/Makefile.am
index 1e865b2..ac595c5 100644
--- a/src/GLX/Makefile.am
+++ b/src/GLX/Makefile.am
@@ -80,4 +80,5 @@ libGLX_la_SOURCES = \
libglxproto.c \
$(UTIL_DIR)/glvnd_genentry.c \
$(UTIL_DIR)/utils_misc.c \
+ $(UTIL_DIR)/app_error_check.c \
g_libglxnoop.c
diff --git a/src/GLX/libglx.c b/src/GLX/libglx.c
index 9d434c3..15b23ef 100644
--- a/src/GLX/libglx.c
+++ b/src/GLX/libglx.c
@@ -45,6 +45,7 @@
#include "GL/glxproto.h"
#include "libglxgl.h"
#include "glvnd_list.h"
+#include "app_error_check.h"
#include "lkdhash.h"
@@ -2045,6 +2046,7 @@ void _init(void)
/* Initialize GLdispatch; this will also initialize our pthreads imports */
__glDispatchInit();
glvndSetupPthreads();
+ glvndAppErrorCheckInit();
glvnd_list_init(&currentThreadStateList);