diff options
author | Dalai Felinto <dfelinto@gmail.com> | 2017-02-01 13:59:54 +0300 |
---|---|---|
committer | Dalai Felinto <dfelinto@gmail.com> | 2017-02-01 13:59:59 +0300 |
commit | a19607ca567d48c324d89b6d0da4b9dbff69f251 (patch) | |
tree | 742af2cd85ec7e3105194d39b421a40a9b846c7e /source/blender | |
parent | 05260888191228bc5461b1844c1191aac038782b (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.c | 2 |
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 ******************************************/ |