aboutsummaryrefslogtreecommitdiff
path: root/loader/README.md
diff options
context:
space:
mode:
authorIan Elliott <ian@lunarg.com>2015-02-13 16:51:05 -0700
committerIan Elliott <ian@lunarg.com>2015-02-13 16:51:05 -0700
commit8f1954fdbdb16edf9984138e13b17e963fc190f0 (patch)
tree79a970920fe212abb8d0f664817071c704869bb9 /loader/README.md
parent5dfe39fb15dd1315cde219849d4431ca4d0eaee0 (diff)
downloadusermoji-8f1954fdbdb16edf9984138e13b17e963fc190f0.tar.xz
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.
Diffstat (limited to 'loader/README.md')
-rw-r--r--loader/README.md4
1 files 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()