Demo entry 3825179

123

   

Submitted by anonymous on Mar 01, 2016 at 15:27
Language: C++. Code size: 321 Bytes.

Gluint rendering_program;
Gluint vertex_array_object;

void startup()
{
      rendering_program = setup_shaders();
      glCreateVertexArrays(1,& vertex_array_object);
      glBindVertexArray()
}

void shutdown()
{
   glDeleteVertexArrays(1,& vertex_array_object);
   glDeleteProgram(rendering_program);
}

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).