Original Post
Hello! I've recently started to look into OpenGL extensions, and started using GLee. I found a nice extension, EXT_texture3D containing the nice functions glTexSubImage{123}D I'd like to use the 2D one to update a texture dynamically, and after querying GLee, like this:
printf("%i\n", GL_EXT_texture3D);
it reports '1', while 'GL_EXT_texture3D' is not present when looking here:
printf("\nThese are the extensions avaiable on your system:\n%s\n\n",
(char*) glGetString(GL_EXTENSIONS));
The extension EXT_texture3D was promoted to the core in OpenGL 1.2, and running this snippet
printf("OpenGL version: ");
if(GLEE_VERSION_1_2){
if(GLEE_VERSION_1_3){
if(GLEE_VERSION_1_4){
if(GLEE_VERSION_1_5){
if(GLEE_VERSION_2_0){
printf("2.0");
}
else{
printf("1.5");
}
}
else{
printf("1.4");
}
}
else{
printf("1.3");
}
}
else{
printf("1.2");
}
}
else{
printf("1.1");
}
printf("\n");
returns 'OpenGL 1.5'. On the backside my card was shipped in it's stated that the card fully supports OpenGL 1.3. Does that mean that the extension is available due to the OpenGL version being high enough and the ones gotten from (char*) glGetString(GL_EXTENSIONS) are those not promoted to the core yet (or promoted to the OpenGL 2.0 core) but supported by my card? Jagot