From 8f1954fdbdb16edf9984138e13b17e963fc190f0 Mon Sep 17 00:00:00 2001 From: Ian Elliott Date: Fri, 13 Feb 2015 16:51:05 -0700 Subject: loader: Change sample code to not include a pointer. It could imply that the ICD needs to allocate space for it. The pointer is really to be owned by the loader. --- loader/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/loader/README.md b/loader/README.md index b88d98bc..b3b9fdfc 100644 --- a/loader/README.md +++ b/loader/README.md @@ -50,8 +50,8 @@ Note: Both of the LIBXGL\_*\_PATH variables may contain more than one directory. #include "xglIcd.h" struct { - XGL_LOADER_DATA *reservedForLoader; // Reserve space for pointer to loader's dispatch table - myObjectClass myObj; // Your driver's C++ class + XGL_LOADER_DATA reservedForLoader; // Reserve space for pointer to loader's dispatch table + myObjectClass myObj; // Your driver's C++ class } xglObj; xglObj alloc_icd_obj() -- cgit v1.2.3