Archive for the ‘OpenGL’ Category

Adding an image to a 2D OpenGL screen may seem like a relatively simple task, but it’s not. OpenGL is a rendering language, and as such has no native support for loading JPEG, GIF, TIF, BMP or any other popular image type. If, like me, you’re looking for a quick and simple way to get […]

While writing an OpenGL program, I came across the following error: vbo/vbo_exec_draw.c:135: vbo_copy_vertices: Assertion `0′ failed. The problem occured while trying to plot ~1 million points in a graph. Reducing this number to 2000 points fixed the problem. So if you’re encountering this error, try simplifying your display.