diff options
author | Norbert Preining <norbert@preining.info> | 2019-10-21 03:00:45 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2019-10-21 03:00:45 +0000 |
commit | 7da4243862494d1fc7478956362f4da6d80f4f7e (patch) | |
tree | 30922972d98c2056ecbed0a1c43b3b3a3758bf58 /graphics/asymptote/drawelement.h | |
parent | 8fa38617045e3aa88b163fdc2fd683d72559b6d5 (diff) |
CTAN sync 201910210300
Diffstat (limited to 'graphics/asymptote/drawelement.h')
-rw-r--r-- | graphics/asymptote/drawelement.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/graphics/asymptote/drawelement.h b/graphics/asymptote/drawelement.h index b4993a71ef..f048cee28f 100644 --- a/graphics/asymptote/drawelement.h +++ b/graphics/asymptote/drawelement.h @@ -463,18 +463,6 @@ public: } }; -#ifdef HAVE_GL -template<class T> -void registerBuffer(std::vector<T>& buffervector, GLuint bufferIndex) { - if (!buffervector.empty()) { - glBindBuffer(GL_ARRAY_BUFFER,bufferIndex); - glBufferData(GL_ARRAY_BUFFER,sizeof(T)*buffervector.size(), - buffervector.data(),GL_STATIC_DRAW); - glBindBuffer(GL_ARRAY_BUFFER,0); - } -} -#endif - #ifdef HAVE_LIBGLM void setcolors(bool colors, const prc::RGBAColour& diffuse, |