OpenGL Extension Problem
Hi all!
I''ve got a really big problem concerning extensions. I''ve written my own basecode which works without problems on many machines. But on the computer of a friend of mine there are only these extensions available:
GL_WIN_swap_hint GL_EXT_bgra GL_EXT_paletted_texture
On this machine W2K with SP3 is installed using a ATI 9500 Pro (Catalyst 3.4).
I''m developing in VS.NET (C++ 7.0) and use CreateWindowEx() function for creating a window.
Thanks for your help!
Corrail
corrail@gmx.at
ICQ#59184081
--------------------------------------------------------There is a theory which states that if ever anybody discovers exactly what the Universe is for and why it is here, it will instantly disappear and be replaced by something even more bizarre and inexplicable.There is another theory which states that this has already happened...
I think there are some more extensions available an a Radeon 9500 Pro than these three!!
Corrail
corrail@gmx.at
ICQ#59184081
Corrail
corrail@gmx.at
ICQ#59184081
--------------------------------------------------------There is a theory which states that if ever anybody discovers exactly what the Universe is for and why it is here, it will instantly disappear and be replaced by something even more bizarre and inexplicable.There is another theory which states that this has already happened...
Make sure you have a hardware pixel format.
Death of one is a tragedy, death of a million is just a statistic.
Death of one is a tragedy, death of a million is just a statistic.

If at first you don't succeed, redefine success.
Also check the drivers, since this could be caused by lack of a custom dll for opengl - microsofts default dll supports only these 3 extensions
A hardware pixel format is generated if I use the PFD_GENERIC_ACCELERATED flag, isn''t it?
Corrail
corrail@gmx.at
ICQ#59184081
Corrail
corrail@gmx.at
ICQ#59184081
--------------------------------------------------------There is a theory which states that if ever anybody discovers exactly what the Universe is for and why it is here, it will instantly disappear and be replaced by something even more bizarre and inexplicable.There is another theory which states that this has already happened...
I''m not absolutely certain of this, but I believe an accelerated descriptor should be created by default, unless you''ve specified PFD_DRAWTOBITMAP. Windows will by default take advantage of any acceleration available. The ''generic implementation'' spoken of in the documentation is the native windows software implementation. Your board probably doesn''t accelerate it, it accelerates it''s own implementation.
Try this instead:
PIXELFORMATDESCRIPTOR pfd = {
sizeof(PIXELFORMATDESCRIPTOR),
1,
PFD_DRAW_TO_WINDOW |
PFD_SUPPORT_OPENGL |
PFD_DOUBLEBUFFER ,
PFD_TYPE_RGBA,
24,
0,0,0,0,0,0,
0,0,
0,0,0,0,0,
32,
0,
0,
PFD_MAIN_PLANE,
0,
0,0,
};
Try this instead:
PIXELFORMATDESCRIPTOR pfd = {
sizeof(PIXELFORMATDESCRIPTOR),
1,
PFD_DRAW_TO_WINDOW |
PFD_SUPPORT_OPENGL |
PFD_DOUBLEBUFFER ,
PFD_TYPE_RGBA,
24,
0,0,0,0,0,0,
0,0,
0,0,0,0,0,
32,
0,
0,
PFD_MAIN_PLANE,
0,
0,0,
};
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement