From 10cd0a53f61390cf211a54b3aa838ab1807487e4 Mon Sep 17 00:00:00 2001 From: Andreas Hartmetz Date: Fri, 12 Jul 2013 11:07:41 +0200 Subject: [PATCH] Remove the now unused _AttribList_size. _AttribPairList_size is still used for WGL's float-based attribs. --- helpers/glsize.hpp | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/helpers/glsize.hpp b/helpers/glsize.hpp index 5eac78e..dbc753a 100644 --- a/helpers/glsize.hpp +++ b/helpers/glsize.hpp @@ -1470,25 +1470,6 @@ _glGetDebugMessageLog_length(const Char * string, const GLsizei *lengths, GLuint return size; } -/* - * attribute list, terminated by the given terminator. - */ -template -static inline size_t -_AttribList_size(const T *pAttribList, const T terminator = static_cast(0)) -{ - size_t size = 0; - - if (pAttribList) { - do { - ++size; - } while (*pAttribList++ != terminator); - } - - return size; -} - - /* * (key, value) attribute list, terminated by the given terminator. */ -- 2.43.0