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:
authorDalai Felinto <dfelinto@gmail.com>2017-02-01 13:59:54 +0300
committerDalai Felinto <dfelinto@gmail.com>2017-02-01 13:59:59 +0300
commita19607ca567d48c324d89b6d0da4b9dbff69f251 (patch)
tree742af2cd85ec7e3105194d39b421a40a9b846c7e /source/blender
parent05260888191228bc5461b1844c1191aac038782b (diff)
Silence more warnings
This should silence the current warnings, and gives us real warnings if the bContext data is tampered with.
Diffstat (limited to 'source/blender')
-rw-r--r--source/blender/draw/intern/draw_manager.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/draw/intern/draw_manager.c b/source/blender/draw/intern/draw_manager.c
index 85c8d52a6f8..0c3c9a022c5 100644
--- a/source/blender/draw/intern/draw_manager.c
+++ b/source/blender/draw/intern/draw_manager.c
@@ -130,7 +130,7 @@ static struct DRWGlobalState{
int tex_bind_id;
float size[2];
/* Current rendering context set by DRW_viewport_init */
- bContext *context;
+ const struct bContext *context;
} DST = {NULL};
/* ***************************************** TEXTURES ******************************************/