text: #include "Fluid.h"
  
  GLuint CreateQuad()
  {
      short positions[] = {
          -1, -1,
           1, -1,
          -1,  1,
           1,  1,
      };
      
      // Create the VAO:
      GLuint vao;
      glGenVertexArrays(1, &vao);
      glBindVertexArray(vao);
  
      // Create the VBO:
      GLuint vbo;
      GLsizeiptr size = sizeof(positions);
      glGenBuffers(1, &vbo);
      glBindBuffer(GL_ARRAY_BUFFER, vbo);
      glBufferData(GL_ARRAY_BUFFER, size, positions, GL_STATIC_DRAW);
  
      // Set up the vertex layout:
      GLsizeiptr stride = 2 * sizeof(positions[0]);
      glEnableVertexAttribArray(PositionSlot);
      glVertexAttribPointer(PositionSlot, 2, GL_SHORT, GL_FALSE, stride, 0);
  
      return vao;
  }
  