Commit: e8b8ee7d280b99f6b3d253a30822c98a3c38c2c5 Author: Campbell Barton Date: Sat Nov 1 16:16:46 2014 +0100 Branches: master https://developer.blender.org/rBe8b8ee7d280b99f6b3d253a30822c98a3c38c2c5
OpenGL: double width lines is no-longer apple-only =================================================================== M source/blender/editors/include/BIF_gl.h =================================================================== diff --git a/source/blender/editors/include/BIF_gl.h b/source/blender/editors/include/BIF_gl.h index cd26bb2..2acba04 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 _______________________________________________ Bf-blender-cvs mailing list [email protected] http://lists.blender.org/mailman/listinfo/bf-blender-cvs
