> It should be also clear that using option c is no guarantee for
> forcing an application programmer to update the source-code to be
> compliant with the standard, as the following code (as it is today)
> might still compile and work (if the libGL.so exports the right
> symbols):
>
> #ifdef WIN32
> (*wglGetProcAddress("glPointParameterfEXT"))(...);
> #else
> glPointParameterfEXT(...);
> #endif
With options (b) or (c) you should get a warning when compiling for oglbase
since the prototype for glPointParametersfEXT would not be defined, assuming
we did what you proposed in gl.h
#if something
#include <GL/glext.h>
#else
#define GL_EXT_point_parameters 1
extern void glPointParameterfEXT(...);
#endif
This is one of the major advantages of (b) over (a).
- Re: [oglbase-discuss] Vote results: 1 YES, 2 A Brian Paul
- Re: [oglbase-discuss] Vote results: 1 YES, 2 A Stephen J Baker
- Re: [oglbase-discuss] Vote results: 1 YES, 2 A Jon Leech
- Re: [oglbase-discuss] Vote results: 1 YES, 2 ... Thomas Roell
- Re: [oglbase-discuss] Vote results: 1 YES, 2 ... Stephen J Baker
- Re: [oglbase-discuss] Vote results: 1 YES, 2 ... Leath Muller
- RE: [oglbase-discuss] Vote results: 1 YES, 2 A Stephen J Baker
- RE: [oglbase-discuss] Vote results: 1 YES, 2 A Thomas Roell
- RE: [oglbase-discuss] Vote results: 1 YES, 2 ... Stuart Anderson
- RE: [oglbase-discuss] Vote results: 1 YES, 2 A Michael Gold
- RE: [oglbase-discuss] Vote results: 1 YES, 2 A Michael Gold
- RE: [oglbase-discuss] Vote results: 1 YES, 2 A Mark Kilgard
- Re: [oglbase-discuss] Vote results: 1 YES, 2 A Ron Bielaski
- RE: [oglbase-discuss] Vote results: 1 YES, 2 A Michael Gold
- RE: [oglbase-discuss] Vote results: 1 YES, 2 A Thomas Roell
- RE: [oglbase-discuss] Vote results: 1 YES, 2 A Stephen J Baker
- RE: [oglbase-discuss] Vote results: 1 YES, 2 A Thomas Roell
- RE: [oglbase-discuss] Vote results: 1 YES, 2 ... Stephen J Baker
- RE: [oglbase-discuss] Vote results: 1 YES... Thomas Roell
- RE: [oglbase-discuss] Vote results: ... Stephen J Baker
- RE: [oglbase-discuss] Vote resul... Thomas Roell
