summaryrefslogtreecommitdiff
path: root/graphics/asymptote/drawelement.h
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/asymptote/drawelement.h')
-rw-r--r--graphics/asymptote/drawelement.h12
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,