polymost_resetVertexPointers(): remove erroneous glBindBuffer call

git-svn-id: https://svn.eduke32.com/eduke32@6881 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
pogokeen 2018-05-08 17:32:07 +00:00
parent 9db0358472
commit fdaf5a8ac7

View file

@ -520,7 +520,6 @@ static void Polymost_DetermineTextureFormatSupport(void);
void polymost_resetVertexPointers() void polymost_resetVertexPointers()
{ {
glBindBuffer(GL_ARRAY_BUFFER, drawpolyVertsID); glBindBuffer(GL_ARRAY_BUFFER, drawpolyVertsID);
glBindBuffer(GL_TEXTURE_COORD_ARRAY, drawpolyVertsID);
glVertexPointer(3, GL_FLOAT, 5*sizeof(float), 0); glVertexPointer(3, GL_FLOAT, 5*sizeof(float), 0);
glTexCoordPointer(2, GL_FLOAT, 5*sizeof(float), (GLvoid*) (3*sizeof(float))); glTexCoordPointer(2, GL_FLOAT, 5*sizeof(float), (GLvoid*) (3*sizeof(float)));