diff options
author | Dalai Felinto <dfelinto@gmail.com> | 2017-05-19 12:47:55 +0300 |
---|---|---|
committer | Dalai Felinto <dfelinto@gmail.com> | 2017-05-19 15:14:46 +0300 |
commit | 60fc04fb9b4f112998ac42395a17b56cc6edec5c (patch) | |
tree | 929dd4d2868800a6c18ecdc4590590a22a853a0a /source/blender/gpu/intern/gpu_draw.c | |
parent | bad8b91fd3c7c6f458f0830520b21fe628565cf2 (diff) |
Remove reference to WITH_GL_PROFILE_CORE
There is no more point of keep those around. ES20 may need special case
when/if we dabble with it again. Meanwhile no point on polluting the
code with this.
(ghost still has reference for the PROFILE, but that's reasonable)
Diffstat (limited to 'source/blender/gpu/intern/gpu_draw.c')
-rw-r--r-- | source/blender/gpu/intern/gpu_draw.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/source/blender/gpu/intern/gpu_draw.c b/source/blender/gpu/intern/gpu_draw.c index 0f4b105731d..d2a86dbcfa4 100644 --- a/source/blender/gpu/intern/gpu_draw.c +++ b/source/blender/gpu/intern/gpu_draw.c @@ -2271,13 +2271,6 @@ void GPU_state_init(void) GPU_disable_program_point_size(); -#ifndef WITH_GL_PROFILE_CORE - /* TODO: remove this when we switch to core profile */ - { - glEnable(GL_POINT_SPRITE); - } -#endif - glEnable(GL_TEXTURE_CUBE_MAP_SEAMLESS); glDepthFunc(GL_LEQUAL); |