Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKent Mein <mein@cs.umn.edu>2007-03-13 03:06:37 +0300
committerKent Mein <mein@cs.umn.edu>2007-03-13 03:06:37 +0300
commit844d6f9aa6554c70438190ababa68a2f5e6d7983 (patch)
tree77988d45800c5797841bf3e93f764af50d914894 /source/blender/src/drawmesh.c
parentf9b20a37b263db58e7f0a12b6f1c58fdee0ecd40 (diff)
patch [#6213] msvc had problems with GL_CLAMP_TO_EDGE being undefined
on some systems. If its undefined define it. Kent
Diffstat (limited to 'source/blender/src/drawmesh.c')
-rw-r--r--source/blender/src/drawmesh.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/src/drawmesh.c b/source/blender/src/drawmesh.c
index 2a22451f2f6..2d7ac564c52 100644
--- a/source/blender/src/drawmesh.c
+++ b/source/blender/src/drawmesh.c
@@ -33,10 +33,6 @@
#include <string.h>
#include <math.h>
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
-
#include "MEM_guardedalloc.h"
#include "BLI_blenlib.h"
@@ -84,6 +80,10 @@
#include "blendef.h"
#include "nla.h"
+#ifndef GL_CLAMP_TO_EDGE
+#define GL_CLAMP_TO_EDGE 0x812F
+#endif
+
//#include "glext.h"
/* some local functions */
#if defined(GL_EXT_texture_object) && (!defined(__sun__) || (!defined(__sun))) && !defined(__APPLE__) && !defined(__linux__) && !defined(WIN32)