Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2014-11-01 18:16:46 +0300
committerCampbell Barton <ideasman42@gmail.com>2014-11-02 01:32:02 +0300
commite8b8ee7d280b99f6b3d253a30822c98a3c38c2c5 (patch)
tree1255d58e7fefef508db78b5b000a79fd53781c9c /source/blender/editors/include/BIF_gl.h
parent5b93c6e6f34068274eecd42eb55dcdeab476f29b (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.h11
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