summaryrefslogtreecommitdiffstats
path: root/src/mesa/glapi/glapi.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2006-03-15 20:31:50 +0000
committerBrian Paul <[email protected]>2006-03-15 20:31:50 +0000
commite6606909857901e5d49776e51e0eb2fa6d44a1bd (patch)
tree016b1eab4376f355892ca626d8a1b6f10ea894f9 /src/mesa/glapi/glapi.c
parent30655c211c97a69f0eeb9ad6176ca1db67d15bf9 (diff)
Need to include glthread.h in glapi.h, not glapi.c so that GET_CURRENT_CONTEXT
is properly defined. Fixes long-standing, but unnoticed thread safety failure. Also, updated comments.
Diffstat (limited to 'src/mesa/glapi/glapi.c')
-rw-r--r--src/mesa/glapi/glapi.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mesa/glapi/glapi.c b/src/mesa/glapi/glapi.c
index 689d7c3d8a0..559949254fd 100644
--- a/src/mesa/glapi/glapi.c
+++ b/src/mesa/glapi/glapi.c
@@ -54,7 +54,6 @@
#include "glapi.h"
#include "glapioffsets.h"
#include "glapitable.h"
-#include "glthread.h"
/***** BEGIN NO-OP DISPATCH *****/