Bug in glIsEnabled()?
  • MDW
  • Order of the Butterfly
    Order of the Butterfly
    MDW
    Posts: 201 from 2003/7/25
    From: Wroclaw/Poland
    I noticed somethig strange. I can't check if scissor is enabled. Function glIsEnabled() always returns 0 if I use parameter GL_SCISSOR_TEST. If I use glIsEnabled() with other parameter (e.g. GL_FOG), the function will return correct value.
    Please look at this simple test:

    Code:
    glEnable(GL_SCISSOR_TEST);
    printf("scissor enabled: %d\n", glIsEnabled(GL_SCISSOR_TEST));
    glDisable(GL_SCISSOR_TEST);
    printf("scissor disabled: %d\n", glIsEnabled(GL_SCISSOR_TEST));

    glEnable(GL_FOG);
    printf("fog enabled: %d\n", glIsEnabled(GL_FOG));
    glDisable(GL_FOG);
    printf("fog disabled: %d\n", glIsEnabled(GL_FOG));


    RESULT:

    scissor enabled: 0
    scissor disabled: 0
    fog enabled: 1
    fog disabled: 0



    Is it a bug in TinyGL? Known bug?

    I use MorphOS 3.9 with MOS SDK 3.9 on PowerBookG4 (15-inch, 1,67 GHz).
  • »26.01.17 - 19:33
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    polluks
    Posts: 330 from 2007/10/23
    From: Gelsenkirchen,...
    FYI officially reported as #0003511
    Pegasos II G4: MorphOS 3.9, Zalman M220W
    Power Mac G3: OSX 10.3 · PowerBook 5,8: OSX 10.5, MorphOS 3.9
  • »13.01.18 - 03:18
    Profile
  • MDW
  • Order of the Butterfly
    Order of the Butterfly
    MDW
    Posts: 201 from 2003/7/25
    From: Wroclaw/Poland
    Quote:

    polluks wrote:
    FYI officially reported as #0003511



    Great! Thank you for the information.
  • »13.01.18 - 08:44
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    polluks
    Posts: 330 from 2007/10/23
    From: Gelsenkirchen,...
    Well, there's no official 3D maintainer,
    so you have also to kick every developer from time to time ;-) ;-)

    [ Editiert durch polluks 15.01.2018 - 03:11 ]
    Pegasos II G4: MorphOS 3.9, Zalman M220W
    Power Mac G3: OSX 10.3 · PowerBook 5,8: OSX 10.5, MorphOS 3.9
  • »15.01.18 - 02:06
    Profile
  • Yokemate of Keyboards
    Yokemate of Keyboards
    Andreas_Wolf
    Posts: 9432 from 2003/5/22
    From: Germany
    > there's no official 3D maintainer

    Kiero?
  • »15.01.18 - 21:40
    Profile
  • Jim
  • Yokemate of Keyboards
    Yokemate of Keyboards
    Jim
    Posts: 4338 from 2009/1/28
    From: Delaware, USA
    Quote:

    Andreas_Wolf wrote:
    > there's no official 3D maintainer

    Kiero?


    Who can be really difficult to get in touch with.
    "Magnetic was troubled by my avatars and 'satanic' references" - Jim Igou

    "Never attribute to malice what can more readily explained by incompetence"
  • »16.01.18 - 08:56
    Profile