I’ll start by saying I am rather new to OGL but am learning quickly. My latest project was to port a simple wave table from basic to C++ using OGL, everything works fine except for one little thing, it appears that rather then drawing the whole image at once, it draws it line by line (which is the last thing I want). Thinking back to basic I could draw everything to an off screen location and then copy that image from off screen to onscreen, I’m not sure how to go about doing that in OGL.
Below is my drawing code that in embedded in 2 for loops used in accessing the arrays.
glVertex3f(rxa[x+1][y],rya[x + 1][y],1);