From d84ce90489c8c5e5386351e109d3553e28f80abc Mon Sep 17 00:00:00 2001 From: kervala Date: Mon, 20 Dec 2010 17:05:11 +0100 Subject: [PATCH] Fixed: Bad function to set texture coordinates for EXTVertexShader --- code/nel/src/3d/driver/opengl/driver_opengl_vertex.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/nel/src/3d/driver/opengl/driver_opengl_vertex.cpp b/code/nel/src/3d/driver/opengl/driver_opengl_vertex.cpp index 9aaa675a6..b09fb6b9c 100644 --- a/code/nel/src/3d/driver/opengl/driver_opengl_vertex.cpp +++ b/code/nel/src/3d/driver/opengl/driver_opengl_vertex.cpp @@ -1493,7 +1493,7 @@ void CDriverGL::setupGlArraysForEXTVertexShader(CVertexBufferInfo &vb) case CVertexBuffer::TexCoord7: { _DriverGLStates.clientActiveTextureARB(value - CVertexBuffer::TexCoord0); - nglArrayObjectATI(GL_TEXTURE_COORD_ARRAY, NumCoordinatesType[type], GLType[type], vb.VertexSize, vb.VertexObjectId, (ptrdiff_t) vb.ValuePtr[value]); + glTexCoordPointer(NumCoordinatesType[type], GLType[type], vb.VertexSize, vb.ValuePtr[value]); } break; default: