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>2017-05-04 13:50:03 +0300
committerCampbell Barton <ideasman42@gmail.com>2017-05-04 13:50:03 +0300
commit002b2066ac312d34f2d5e3a8031db140c3008f0a (patch)
tree424886595dd64c8e93e0e33f0ed23167d64526bb /source/blender/editors/screen/glutil.c
parentf3550242ed3d64a3cb81a698073cf94cf1b7326b (diff)
Remove cpack
Places where it's removed are already replaced by newer logic.
Diffstat (limited to 'source/blender/editors/screen/glutil.c')
-rw-r--r--source/blender/editors/screen/glutil.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/source/blender/editors/screen/glutil.c b/source/blender/editors/screen/glutil.c
index 43f77a7d5b5..8bf269f74fa 100644
--- a/source/blender/editors/screen/glutil.c
+++ b/source/blender/editors/screen/glutil.c
@@ -677,14 +677,6 @@ void glaDrawImBuf_glsl_ctx(const bContext *C, ImBuf *ibuf, float x, float y, int
glaDrawImBuf_glsl_ctx_clipping(C, ibuf, x, y, zoomfilter, 0.0f, 0.0f, 0.0f, 0.0f, zoom_x, zoom_y);
}
-void cpack(unsigned int x)
-{
- /* DEPRECATED: use imm_cpack */
- glColor3ub(( (x) & 0xFF),
- (((x) >> 8) & 0xFF),
- (((x) >> 16) & 0xFF));
-}
-
/* don't move to GPU_immediate_util.h because this uses user-prefs
* and isn't very low level */
void immDrawBorderCorners(unsigned int pos, const rcti *border, float zoomx, float zoomy)