Board index » delphi » Why glEdgeFlag doesn't work in D4
Jon Jacobs
![]() Delphi Developer |
Sat, 06 Apr 2002 03:00:00 GMT
Why glEdgeFlag doesn't work in D4
Yes, I have found that annoying too. I see no reason why your declarations
should not work. The problem happens where OpenGL.Pas uses GL_TRUE = 1 etc. That sets up GL_TRUE etc. as integers! Better would have been GL_TRUE = BYTEBOOL(1); GL_FALSE = BYTEBOOL(0); Then we would not have to typecast. Just in case, you might want to use Jon Quote>Investigating the above problem I noticed that in OpenGL.pas (borland's |