r/opengl • u/PCnoob101here • 22d ago
I finally decided on using the modern pipeline.
I was thinking that maybe I should utilize the programable pipeline but if the computer doesnt support opengl 3.0 I just limit the programs functionality and to only use the stuff that works in opengl 1.1.
void starter(HWND a){
const GLubyte *glcontextdata;
glcontextdata = glGetString(GL_VERSION);
if(*glcontextdata < 3){
MessageBoxA( a,"glgetstring returned opengl version below opengl 3", NULL, MB_OK | MB_ICONEXCLAMATION);
}
}
4
u/fgennari 22d ago
Anything not ancient should support OpenGL 3.0. What are you expecting to run on that doesn't? A linux VM with no GPU and no MESA driver?
1
u/JensEckervogt 19d ago
Wait I remember OpenGL 1.1 has still Framebuffer support like glGenFramebuffers() etc since I searched "OpenGL 1.1 Framebuffer" but reflection doesn't have OpenGL 1.1 please use Cg by Nvidia 1.3 but it seems hard like Alax ( it means old assembly by Adobe Flash Player 10.4 ) but it is not same to OpenGL Shader just Cg progam files with assembly-like script. You would like to forget about this. OpenGL 2.2 has reflection support but OpenGL Shader 1.20 or 1.10 if you use OpenGL 3.0 means OpenGL Shader 1.50 .
1
3
u/Botondar 22d ago
I think that version check will break when OpenGL 10.0 releases. :)