Commits

Trevor Fancher committed 7f524bd

Make document consistent with cpp file.

GL_STREAM_DRAW isn't discussed until the "Buffer Object Usage Hints"
in Tutorial 3.

Comments (0)

Files changed (1)

Documents/Basics/Tutorial 02.xml

     glGenBuffers(1, &vertexBufferObject);
     
     glBindBuffer(GL_ARRAY_BUFFER, vertexBufferObject);
-    glBufferData(GL_ARRAY_BUFFER, sizeof(vertexData), vertexData, GL_STREAM_DRAW);
+    glBufferData(GL_ARRAY_BUFFER, sizeof(vertexData), vertexData, GL_STATIC_DRAW);
     glBindBuffer(GL_ARRAY_BUFFER, 0);
 }]]></programlisting>
             </example>