Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 2 of 2

Thread: Extensions (only known way to use OpenGL > 1.1)

  1. #1
    Intern Newbie
    Join Date
    Mar 2004
    Location
    Poland
    Posts
    32

    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?
    One star? I am learning, and not giving bad advices. So: WHY?

  2. #2
    Senior Member OpenGL Guru
    Join Date
    Feb 2000
    Location
    Sweden
    Posts
    3,115

    Re: Extensions (only known way to use OpenGL > 1.1)

    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •