Original Post
Hi I'm learning to use VBO (again) now, as I never had time to learn on that one. I wonder if I should disable padding in my custom vertex structure for the VBO to work....something like
I know the compiler would pad the structure otherwise, but will the opengl work fine with it? thanks before
#include <pshpack1.h>
//blah blah vertex structure
struct MyVert
{
float u1,v1;
float x,y,z;
};
#include <poppack.h>
I know the compiler would pad the structure otherwise, but will the opengl work fine with it? thanks before