Extensions (only known way to use OpenGL > 1.1)

Hi.

I’ve got a question. What would happen, if I used nVidia (for example) extension in program, and run it on machine with ATI accelerator?

There would be an error, or maybe it would be handled in software way?

You just wouldn’t get the function pointers from wglGetProcAddress. What happens depends on how your code handles the situation. For example, if your code blindly assumes a certain extension is present and just use the function pointer without checking if it really is, your program will most certainly crach horribly when calling the function.