[ad_1]
Vertices[] is global and you don’t need pass it through parameter. However you can pass vertices too.
Make your function as below
void CreateVBO(Vertex vertices[]);
call it
CreateVBO(Vertices);
2
[ad_2]
solved C++ Passing arguments to a function [closed]