PDA

View Full Version : Questions on Extions



doggle
02-18-2004, 12:43 AM
I want to use GL_EXT_separate_specular_color, it is not a vary advanced OpenGL extension feature.

I use such code:
extensions = glGetString(GL_EXTENSIONS);
to determine if the OpenGL implementation really supports this extension.
the return string is "GL_WIN_swap_hint GL_EXT_bgra GLEXT_paletted_texture", which means GL_EXT_separate_specular_color is not supported!
My graphic card is Radeon 9600, a relative new card. Why doen't it support such a simple feature?
What should I do?

Any suggestion will be great appreciated!

Doggle

gvm
02-18-2004, 02:35 AM
if that's all you see, then your initialization code is wrong somewhere! Looks like your app inits opengl for software rendering mode...
here's what i pass to PIXELFORMATDESCRIPTOR
pfd.dwFlags = PFD_DRAW_TO_WINDOW | PFD_DOUBLEBUFFER | PFD_SUPPORT_OPENGL;

doggle
02-18-2004, 04:45 AM
Originally posted by gvm:
if that's all you see, then your initialization code is wrong somewhere! Looks like your app inits opengl for software rendering mode...
here's what i pass to PIXELFORMATDESCRIPTOR
pfd.dwFlags = PFD_DRAW_TO_WINDOW | PFD_DOUBLEBUFFER | PFD_SUPPORT_OPENGL;
Dear gvm,
Thank you very much! Your words is so correct. I set pfd.dwFlags as you did, and it works!
You helped me a lot.

Best wishes,
Doggle