Fix text drawing with core profile
authorSergey Sharybin <sergey.vfx@gmail.com>
Tue, 18 Apr 2017 14:41:07 +0000 (16:41 +0200)
committerSergey Sharybin <sergey.vfx@gmail.com>
Tue, 18 Apr 2017 14:42:16 +0000 (16:42 +0200)
commit2c29b94384d2c556563a3126563704a7e1173c65
treef723d444a5c43beab8d74431ff6b70690e9efcac
parentc9d78b6c434b5b1672ad0e0a2854eb9c1199f379
Fix text drawing with core profile

The issue was going to the fact that GL_ALPHA was deprecated in core profile
and common solution online is to use GL_RED instead. That is what is done in
this commit.
source/blender/blenfont/intern/blf_glyph.c
source/blender/gpu/shaders/gpu_shader_text_frag.glsl