[Bf-committers] Msvc 7.1, error compiling ==> 'drawmesh.c'

Stephen Swaney sswaney at centurytel.net
Tue Mar 13 04:17:11 CET 2007


> On 3/12/07, Campbell Barton <cbarton at metavr.com> wrote:
> >
> >Maybe we need this since it seems its not defined everywhere...
> >
> >#ifndef GL_CLAMP_TO_EDGE
> >#define GL_CLAMP_TO_EDGE        0x812F
> >#endif

On Tue, Mar 13, 2007 at 09:33:24AM +1100, Matt Ebb wrote:
> Strangely, I've got this error too on gcc 3.4/Windows. Perhaps someone would
> like to commit those defines where needed?

GL_CLAMP_TO_EDGE is a feature of OpenGL 1.2 and above.  It does not show up on
implementations that are still at 1.1

You can create the define to make the compiler happy, but I don't
know what happens if you use it on an unsupported platform.

-- 
Stephen Swaney			
sswaney at centurytel.net



More information about the Bf-committers mailing list