diff options
author | Karl Berry <karl@freefriends.org> | 2019-10-21 17:29:28 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2019-10-21 17:29:28 +0000 |
commit | ef2ee92ba9a13edf8ae31e3941f8a47dae5e928e (patch) | |
tree | 5bef718b5f900818966788c4553a415a9cd7d3b9 /Build/source/utils/asymptote/drawelement.h | |
parent | 9474b7db3211261c19db160af542aa1a855659b6 (diff) |
asy 2.59 sources
git-svn-id: svn://tug.org/texlive/trunk@52473 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/utils/asymptote/drawelement.h')
-rw-r--r-- | Build/source/utils/asymptote/drawelement.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/Build/source/utils/asymptote/drawelement.h b/Build/source/utils/asymptote/drawelement.h index b4993a71ef2..f048cee28f3 100644 --- a/Build/source/utils/asymptote/drawelement.h +++ b/Build/source/utils/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, |