From 2d5c1845ac26287955666b6805cfa2acb628d801 Mon Sep 17 00:00:00 2001 From: Mikko Mononen Date: Fri, 11 Apr 2014 16:27:24 +0300 Subject: [PATCH] Removed unused function --- src/nanovg_gl3buf.h | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/nanovg_gl3buf.h b/src/nanovg_gl3buf.h index 3bad600..6368bd7 100644 --- a/src/nanovg_gl3buf.h +++ b/src/nanovg_gl3buf.h @@ -538,14 +538,6 @@ static int glnvg__renderGetTextureSize(void* uptr, int image, int* w, int* h) return 1; } -static void glnvg__toFloatColor(float* fc, unsigned int c) -{ - fc[0] = ((c) & 0xff) / 255.0f; - fc[1] = ((c>>8) & 0xff) / 255.0f; - fc[2] = ((c>>16) & 0xff) / 255.0f; - fc[3] = ((c>>24) & 0xff) / 255.0f; -} - static void glnvg__xformIdentity(float* t) { t[0] = 1.0f; t[1] = 0.0f;