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: GL_MAX_TEXTURE_COORDS gives zero

  1. #1
    Junior Member Newbie
    Join Date
    Aug 2008
    Posts
    9

    GL_MAX_TEXTURE_COORDS gives zero

    Good day to all, i am trying to call the function glGetIntegerv( GL_MAX_TEXTURE_COORDS, &MaxNumCoords ); , but the value returned in MaxNumCoords is set to 0 , what am i doing wrong ?
    Yes, the code works, yes i call the function after the device context has been created, yes i have the latest drivers installed.
    Thanks

  2. #2
    Senior Member OpenGL Pro
    Join Date
    Apr 2010
    Location
    Germany
    Posts
    1,129
    Core context? Does the call return any errors (make sure the error flag is cleared beforehand)? If you're using shaders you don't need that number anyway. You can pass as many tex coords per shader stage as your hardware permits.

Posting Permissions

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