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.
This commit is contained in:
Brian Paul
2006-03-15 20:31:50 +00:00
parent 30655c211c
commit e660690985
2 changed files with 15 additions and 16 deletions

View File

@@ -54,7 +54,6 @@
#include "glapi.h"
#include "glapioffsets.h"
#include "glapitable.h"
#include "glthread.h"
/***** BEGIN NO-OP DISPATCH *****/