OpenGL in Haiku - glaux and Textures

I’ve simply created a makefile using makefile-engine, set NAME, TYPE=APP, SRCS to the c source file, add GL GLU glut to LIBS variable and run “make”

There is no way to enforce the use of a specific GL runtime library (aka libGL.so) or, as I suspect you’re after in fact, a specific GL renderer. These depends only on wich mesa* packages are installed.

Well, I’m not sure what I did, but I can’t get the cube to render again. Sigh. I’ll keep trying.

BTW, you can run GLInfo app to see default and current GL Renderer installed

Always keep copies of your code (or even every revision), so you have a timeline you can follow back, to the one that last worked, which should show what was replaced that broke the program.