diff options
-rw-r--r-- | source/blender/editors/include/BIF_glutil.h | 2 | ||||
-rw-r--r-- | source/blender/editors/screen/glutil.c | 11 |
2 files changed, 0 insertions, 13 deletions
diff --git a/source/blender/editors/include/BIF_glutil.h b/source/blender/editors/include/BIF_glutil.h index 98ee89ae38e..e45e5f5e7ab 100644 --- a/source/blender/editors/include/BIF_glutil.h +++ b/source/blender/editors/include/BIF_glutil.h @@ -185,8 +185,6 @@ void gla2DGetMap(gla2DDrawInfo *di, struct rctf *rect); void gla2DSetMap(gla2DDrawInfo *di, struct rctf *rect); #endif -/* intel gfx cards frontbuffer problem */ -// void bglFlush(void); /* UNUSED */ void set_inverted_drawing(int enable); void setlinestyle(int nr); 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 */ |