when using lockarrays there second parrameter calls for the number of elements you would like to lock. I have 3 arrays, one containing my normals, one for my verts, and one for my texture verts. I have 3 floats per normal, 2 floats per texture and 3 floats per vertex. Now say i have 100 verticies all togeather. Would I lock (100332) OR (1003) Im not sure if im suppost to lock all the floats in all the arrays, or just lock the actual verticies? Some one please give me a clue. Thanks.
the count parameter is used to specify the number of elements that will be locked. In your example, you would use glLockArrays(0, 100);