----- Original Message ----- From: "Ian Romanick" <[EMAIL PROTECTED]> To: "DRI developer's list" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, August 26, 2003 6:48 PM Subject: [Mesa3d-dev] Question about glcore.h
I have a question about the __GLcontextModesRec structure in glcore.h. Is it safe to extend that structure? I'd like to extend it to have the additional fields that are in __GLXFBConfigRec (from DRI's include/GL/glxint.h). If that were done, I could remove __GLXFBConfigRec entirely.
However, I don't want to cause binary compatability problems. I did some checking, and I don't see any places where this structure is shared across module boundries (i.e., between libGL and a DRI driver, between libGLcore.a and libglx.a, etc.).
I haven't studied the recent trees, but won't that break compilation for non-X Mesa users? Does this require guarding with something like "#ifdef GLX"?
Not really, the fields in questions are just simple integer/boolean quantitites. Ian, if you need the VisualID field, just use an integer instead.
-Brian
------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel