From 378eb62abf613f9635aa9cfcb2a4880b2fa1ce12 Mon Sep 17 00:00:00 2001 From: Lee Salzman Date: Sat, 13 Sep 2008 03:33:38 +0000 Subject: [PATCH] removing stray vertex pointer reset git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2555 e016b1c5-ed68-44aa-a2f7-31cac88cffde --- source/src/vertmodel.h | 1 - 1 file changed, 1 deletion(-) diff --git a/source/src/vertmodel.h b/source/src/vertmodel.h index 2d103615..84ef84f1 100644 --- a/source/src/vertmodel.h +++ b/source/src/vertmodel.h @@ -366,7 +366,6 @@ struct vertmodel : model if(d) d->locked = false; if(!s) return; buf[numverts] = s->dir; - glVertexPointer(3, GL_FLOAT, sizeof(vec), buf); glDrawElements(GL_TRIANGLES, s->numidxs(), GL_UNSIGNED_SHORT, s->idxs()); xtraverts += s->numidxs(); return;