Skip to content

Instantly share code, notes, and snippets.

@Lavesson
Created March 20, 2013 23:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Lavesson/5209579 to your computer and use it in GitHub Desktop.
Save Lavesson/5209579 to your computer and use it in GitHub Desktop.
Device device = new Device();
VertexBuffer* buffer = device->CreateVertexBuffer();
Mesh* mesh = new Mesh(buffer);
// ...
@tvogels
Copy link

tvogels commented Apr 30, 2016

There is a typo in this example. The first line should be:

Device* device = new Device();

Thanks for the nice blog.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment