From f8b489b888c6c811868fe2f011b72656bbeefa96 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Wed, 6 Oct 2010 15:56:50 +0000 Subject: add missing GL_CLAMP_TO_EDGE definition on win32 --- src/render/gl.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/render/gl.h') diff --git a/src/render/gl.h b/src/render/gl.h index 283561e..dcac869 100644 --- a/src/render/gl.h +++ b/src/render/gl.h @@ -41,8 +41,12 @@ #define GL_REFLECTION_MAP 0x8512 #endif +#ifndef GL_CLAMP_TO_EDGE +#define GL_CLAMP_TO_EDGE 0x812F #endif +#endif // _WIN32 + /// wrapper namespace for OpenGL operations /** The gl namespace provides a wrapper to the OpenGL library functions. * All methods take floats or Vector3f and Color as parameters. -- cgit v1.2.3