mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-20 06:06:13 +00:00
Fixed: Bad function to set texture coordinates for EXTVertexShader
This commit is contained in:
parent
ad15dbfc75
commit
e586382fb4
1 changed files with 1 additions and 1 deletions
|
@ -1493,7 +1493,7 @@ void CDriverGL::setupGlArraysForEXTVertexShader(CVertexBufferInfo &vb)
|
||||||
case CVertexBuffer::TexCoord7:
|
case CVertexBuffer::TexCoord7:
|
||||||
{
|
{
|
||||||
_DriverGLStates.clientActiveTextureARB(value - CVertexBuffer::TexCoord0);
|
_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;
|
break;
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Reference in a new issue