diff options
author | Mike Erwin <significant.bit@gmail.com> | 2016-01-04 12:53:49 +0300 |
---|---|---|
committer | Mike Erwin <significant.bit@gmail.com> | 2016-01-08 00:32:35 +0300 |
commit | 77641c28ef803a12fda3a60b0db82023bbdf83a3 (patch) | |
tree | 1a916aecd06dbb47fc01c6bd187161087d1e9eb6 /source/blender/editors/screen/glutil.c | |
parent | e20b30a1d8573ab687e05da606ee62e2f079a066 (diff) |
OpenGL: remove some hacks/workarounds
Everything I've tested works fine without these hacks. Variety of Mac, Linux, Windows, Intel, nVidia, AMD.
If these workarounds are for old unsupported systems let's clean house.
Reviewers: #opengl_gfx
Differential Revision: https://developer.blender.org/D1707
Diffstat (limited to 'source/blender/editors/screen/glutil.c')
-rw-r--r-- | source/blender/editors/screen/glutil.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/source/blender/editors/screen/glutil.c b/source/blender/editors/screen/glutil.c index a870b108fad..b7ad911b6f5 100644 --- a/source/blender/editors/screen/glutil.c +++ b/source/blender/editors/screen/glutil.c @@ -814,17 +814,6 @@ void bglPolygonOffset(float viewdist, float dist) } } -#if 0 /* UNUSED */ -void bglFlush(void) -{ - glFlush(); -#ifdef __APPLE__ -// if (GPU_type_matches(GPU_DEVICE_INTEL, GPU_OS_MAC, GPU_DRIVER_OFFICIAL)) -// XXX myswapbuffers(); //hack to get mac intel graphics to show frontbuffer -#endif -} -#endif - /* **** Color management helper functions for GLSL display/transform ***** */ /* Draw given image buffer on a screen using GLSL for display transform */ |