projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
74466be
)
fix for C++
author
Alan Hourihane
<alanh@tungstengraphics.com>
Fri, 12 Dec 2003 22:35:02 +0000
(22:35 +0000)
committer
Alan Hourihane
<alanh@tungstengraphics.com>
Fri, 12 Dec 2003 22:35:02 +0000
(22:35 +0000)
include/GL/internal/glcore.h
patch
|
blob
|
history
diff --git
a/include/GL/internal/glcore.h
b/include/GL/internal/glcore.h
index 140b3991687cfb1f72c913c170e2b471255621b9..7080b7ce74e137523347a40c9a01459d65beba1a 100644
(file)
--- 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 */