summaryrefslogtreecommitdiff
path: root/include/GL/internal
diff options
context:
space:
mode:
authorAlan Hourihane <alanh@tungstengraphics.com>2003-12-12 22:35:02 +0000
committerAlan Hourihane <alanh@tungstengraphics.com>2003-12-12 22:35:02 +0000
commit3b81ccd826271925bbc9286df84a802027645875 (patch)
treeec5fe8fd833595af3ae0c343c860580515264c9a /include/GL/internal
parent74466be8cb53109c519bb00e5b18df11802d05a7 (diff)
fix for C++
Diffstat (limited to 'include/GL/internal')
-rw-r--r--include/GL/internal/glcore.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/GL/internal/glcore.h b/include/GL/internal/glcore.h
index 140b399168..7080b7ce74 100644
--- a/include/GL/internal/glcore.h
+++ b/include/GL/internal/glcore.h
@@ -268,7 +268,11 @@ struct __GLdrawableBufferRec {
/* exported */
void (*freePrivate)(__GLdrawableBuffer *buf, __GLdrawablePrivate *glPriv);
+#ifdef __cplusplus
+ void *privatePtr;
+#else
void *private;
+#endif
/* private */
void *other; /* implementation private data */
@@ -359,7 +363,11 @@ struct __GLdrawablePrivateRec {
void (*unlockDP)(__GLdrawablePrivate *glPriv);
/* exported */
+#ifdef __cplusplus
+ void *privatePtr;
+#else
void *private;
+#endif
void (*freePrivate)(__GLdrawablePrivate *);
/* client data */