diff options
author | Campbell Barton <ideasman42@gmail.com> | 2017-05-04 13:50:03 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2017-05-04 13:50:03 +0300 |
commit | 002b2066ac312d34f2d5e3a8031db140c3008f0a (patch) | |
tree | 424886595dd64c8e93e0e33f0ed23167d64526bb /source/blender/editors/include/BIF_gl.h | |
parent | f3550242ed3d64a3cb81a698073cf94cf1b7326b (diff) |
Remove cpack
Places where it's removed are already replaced by newer logic.
Diffstat (limited to 'source/blender/editors/include/BIF_gl.h')
-rw-r--r-- | source/blender/editors/include/BIF_gl.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/source/blender/editors/include/BIF_gl.h b/source/blender/editors/include/BIF_gl.h index 3db9cc8c953..f91e7d42bca 100644 --- a/source/blender/editors/include/BIF_gl.h +++ b/source/blender/editors/include/BIF_gl.h @@ -36,18 +36,6 @@ #include "GPU_glew.h" #include "BLI_utildefines.h" -/* - * these should be phased out. cpack should be replaced in - * code with calls to glColor3ub. - zr - */ -/* - * - * This define converts a numerical value to the equivalent 24-bit - * color, while not being endian-sensitive. On little-endians, this - * is the same as doing a 'naive' indexing, on big-endian, it is not! - * */ -void cpack(unsigned int x); - /* hacking pointsize and linewidth */ #if defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 201112L) # define glPointSize(f) glPointSize(U.pixelsize * _Generic((f), double: (float)(f), default: (f))) |