Re:Deprecation of OpenGL and OpenCL
by 0xcde4c3db on Monday June 04, 2018 @08:29PM
(#17233960)
> glBegin(GL_TRIANGLES); glVertex3f(x, y, z)...; glEnd();
That's fine for a "hello triangle" program, but quickly becomes ridiculous for anything approaching a serious engine. There's a reason that glDrawArrays() has been around since 1995 (and part of the core specification since 1997).
That's fine for a "hello triangle" program, but quickly becomes ridiculous for anything approaching a serious engine. There's a reason that glDrawArrays() has been around since 1995 (and part of the core specification since 1997).