glGetFloatv with GL_CURRENT_COLOR

Help
Salvatore
2005-11-07
2013-04-17
  • Salvatore
    Salvatore
    2005-11-07

    Hallo,

    I am working with Vincent and it really gives me VERY GOOD RESULTS! Thanks :=)
    This week end, I had problem with glGetFloatv(GL_CURRENT_COLOR, blabla)...
    If I make:
    glColor4f(1.0,1.0,1.0,1.0);
    glGetFloatv(GL_CURRENT_COLOR, buf);

    the values in buf are not correct...
    If I use glGetIntegerv or glFivedv, it is not better...

    Is it a bug or am I doing something wrong somewhere?

    Thanks for your open source Library!

    Salvatore

     
    • Yeah, that's one of the items that's already logged under bug #1044104 "Missing conversions in state queries".

      Sorry, it's in progress, but I have lot's of other things to do these days as well...

      - HM

       
    • Salvatore
      Salvatore
      2005-11-08

      No problem :=) I just wanted to signal the bug if it was one...

      Thanks again for Vincent, it is helping me a lot!

      Salvatore