#include "displaylists.h" #include "selection.h" #include "smartlock.h" #include "sysinc.h" #include #include #include #include #include #include "minigl_vectors.c" void *mgl_CreateContextTags(struct MiniGLIFace *IMiniGL, ...) { va_list ap; void *res; struct TagItem *tags; va_startlinear(ap, IMiniGL); tags = va_getlinearva(ap, struct TagItem *); res = IMiniGL->CreateContext(tags); return res; } void cgl_UpdateContextTags(struct GLContextIFace *IGL, ...) { va_list ap; struct TagItem *tags; va_startlinear(ap, IGL); tags = va_getlinearva(ap, struct TagItem *); IGL->MGLUpdateContext(tags); }