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:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2018-03-03 16:55:35 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2018-03-03 16:57:02 +0300
commitdab20bd41ff9b2545952fa8715e2467b22900133 (patch)
treeb1cadd76ff830b95b20033f990d9d685750dd726 /source/blender/editors/space_view3d
parent94b99949eb20d630e222642a7e7db5ea4d43ef12 (diff)
Fix T54211: OpenGL debug error message in texture draw mode.
Quite harmless and won't be a problem in 2.8.
Diffstat (limited to 'source/blender/editors/space_view3d')
-rw-r--r--source/blender/editors/space_view3d/drawmesh.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/space_view3d/drawmesh.c b/source/blender/editors/space_view3d/drawmesh.c
index bbbf8c633bd..b6bcc592cc8 100644
--- a/source/blender/editors/space_view3d/drawmesh.c
+++ b/source/blender/editors/space_view3d/drawmesh.c
@@ -1115,6 +1115,7 @@ static void tex_mat_set_texture_cb(void *userData, int mat_nr, void *attribs)
gattribs->layer[0].type = CD_MTFACE;
gattribs->layer[0].name[0] = '\0';
gattribs->layer[0].gltexco = 1;
+ gattribs->layer[0].glinfoindoex = -1;
gattribs->totlayer = 1;
/* bind material */