I've been using some self made wrappers for OpenGL. I wanted to switch fully to OpenGL 3.3+ and get rid of deprecated function. I used this code for setting data offsets sent to shaders:
glColorPointer(4, GL_UNSIGNED_BYTE, sizeof(Vertex), (GLvoid*)offsetof(Vertex,color) );
glTexCoordPointer(2, GL_FLOAT, sizeof(Vertex), (GLvoid*)offsetof(Vertex,textCoord) );
glNormalPointer(GL_FLOAT, sizeof(Vertex), (GLvoid*)offsetof(Vertex,normal) );
glVertexPointer(3, GL_FLOAT, sizeof(Vertex), (GLvoid*)offsetof(Vertex,position) );
What's the alternative for it now? Gl3w (which I use) does not support it. I can't see any good tutorial for the new approach of sending data to shaders without deprecated functions.