Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2010-10-06 15:56:50 +0000
committerStijn Buys <ingar@osirion.org>2010-10-06 15:56:50 +0000
commitf8b489b888c6c811868fe2f011b72656bbeefa96 (patch)
treede163ba4eab1306a01f04ddcd3a25c662b6521a7 /src
parent36509ea1a476b30f17b3436edd7f524861257389 (diff)
add missing GL_CLAMP_TO_EDGE definition on win32
Diffstat (limited to 'src')
-rw-r--r--src/render/gl.h4
1 files changed, 4 insertions, 0 deletions
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.