From 002b2066ac312d34f2d5e3a8031db140c3008f0a Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 4 May 2017 20:50:03 +1000 Subject: Remove cpack Places where it's removed are already replaced by newer logic. --- source/blender/editors/include/BIF_gl.h | 12 ------------ 1 file changed, 12 deletions(-) (limited to '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 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))) -- cgit v1.2.3