I’m having problems in creating a display list in Fortran! Am I doing something wrong?
indice=glGenLists(1)
write(*,*)indice !This line returns me 0
auxl=glIsList(1)
write(*,*)auxl !This line returns me False
CALL glNewList(indice,GL_COMPILE)
!Block with my draw
CALL glEndList()
auxl=glIsList(indice)
write(*,*)auxl !This line returns me False
This is the first display list not just in my program, but in my life, so, why the program is returning me 0, like if there was no display list that could be created?
Nope, none of these situations are happening! There’s no invalid call inside glNewList() and glEndList(), the rage is not negative and there’s no outer glBegin().