Previously vertex data was only in shaders. I have removed it from there and put hardcoded vertex data into cpp source code.