diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-11-01 18:16:46 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-11-02 01:32:02 +0300 |
commit | e8b8ee7d280b99f6b3d253a30822c98a3c38c2c5 (patch) | |
tree | 1255d58e7fefef508db78b5b000a79fd53781c9c /source/blender/editors/include/BIF_gl.h | |
parent | 5b93c6e6f34068274eecd42eb55dcdeab476f29b (diff) |
OpenGL: double width lines is no-longer apple-only
Diffstat (limited to 'source/blender/editors/include/BIF_gl.h')
-rw-r--r-- | source/blender/editors/include/BIF_gl.h | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/source/blender/editors/include/BIF_gl.h b/source/blender/editors/include/BIF_gl.h index cd26bb22ada..2acba04368c 100644 --- a/source/blender/editors/include/BIF_gl.h +++ b/source/blender/editors/include/BIF_gl.h @@ -35,16 +35,9 @@ #include "GPU_glew.h" -#ifdef __APPLE__ - /* hacking pointsize and linewidth */ -# define glPointSize(f) glPointSize(U.pixelsize * (f)) -# define glLineWidth(f) glLineWidth(U.pixelsize * (f)) -#else - /* avoid include mismatch by referencing 'U' from both */ -# define glPointSize(f) glPointSize(((void)U.pixelsize, (f))) -# define glLineWidth(f) glLineWidth(((void)U.pixelsize, (f))) -#endif +#define glPointSize(f) glPointSize(U.pixelsize * (f)) +#define glLineWidth(f) glLineWidth(U.pixelsize * (f)) /* * these should be phased out. cpack should be replaced in |