diff options
author | Mike Erwin <significant.bit@gmail.com> | 2017-03-14 07:44:38 +0300 |
---|---|---|
committer | Mike Erwin <significant.bit@gmail.com> | 2017-03-14 07:44:38 +0300 |
commit | 9bf0b246ac495b901362f1cc4e74d9b3772d9195 (patch) | |
tree | 05967ce73dd4f5072d8a726142c65c09cf9f6ed5 /source/blender/gpu/intern/gpu_select_pick.c | |
parent | ac276e15410814094c90125ffa528034d02ab967 (diff) |
OpenGL: remove deprecated calls
glMaterial
glColorMaterial
glPixelTransfer
and glEnable/Disable for
GL_FOG, GL_LIGHTING, GL_COLOR_MATERIAL
All of these were just setting default values, so I don't expect any visible change.
Part of T49165 (general OpenGL upgrade)
Diffstat (limited to 'source/blender/gpu/intern/gpu_select_pick.c')
-rw-r--r-- | source/blender/gpu/intern/gpu_select_pick.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/source/blender/gpu/intern/gpu_select_pick.c b/source/blender/gpu/intern/gpu_select_pick.c index 0a77420fa25..780ffd82671 100644 --- a/source/blender/gpu/intern/gpu_select_pick.c +++ b/source/blender/gpu/intern/gpu_select_pick.c @@ -331,10 +331,6 @@ void gpu_select_pick_begin( glDepthFunc(GL_LEQUAL); } - /* set just in case */ - glPixelTransferf(GL_DEPTH_BIAS, 0.0); - glPixelTransferf(GL_DEPTH_SCALE, 1.0); - float viewport[4]; glGetFloatv(GL_SCISSOR_BOX, viewport); |