Right now it's simply broken of course. The extension being defined in the header is no guarantee the driver actually supports it.
Right now it's simply broken of course. The extension being defined in the header is no guarantee the driver actually supports it.
That's the reason for the patch.
Of course my patch doesn't fix the fact that we just assume this extension is supported. For perfection we'll need a codepath that is based on OpenGL 1.0 texture combiners. I guess I'll do that as a fun project once I can get my hands on this old Mach64 card again...
* On Mon, 21 Jul 2008, H. Verbeet wrote:
Right now it's simply broken of course. The extension being defined in the header is no guarantee the driver actually supports it.
Just in a case: today I stuck upon some lib called GLee:
| GLee provides a simple interface for using extensions and core OpenGL | functionality beyond OpenGL version 1.1, and automates the otherwise | tedious process of linking function pointers. GLee works with both C and | C++ compilers. | | Because the code is automatically generated, the latest extensions can | be included rapidly in new versions. Currently there is support for | OpenGL up to 3.0 and almost all registered extensions. For a complete | list of extensions, please see the accompanying extensionList.txt file.
I am not sure if it's code helps (or hurts) wined3d development, but the description looked attractive to me. For those interested in it:
http://elf-stone.com/glee.php http://elf-stone.com/downloads/GLee/readme.txt
| GLee provides a simple interface for using extensions and core OpenGL | functionality beyond OpenGL version 1.1, and automates the otherwise | tedious process of linking function pointers. GLee works with both C and | C++ compilers. | | Because the code is automatically generated, the latest extensions can | be included rapidly in new versions. Currently there is support for | OpenGL up to 3.0 and almost all registered extensions. For a complete | list of extensions, please see the accompanying extensionList.txt file.
We have a framework for that already, but there is some old junk left we're removing with those patches