Results 1 to 2 of 2

Thread: display lists not working

  1. #1

    display lists not working

    I created a simple display list, something like...

    display_list[DL_STARS] = glGenLists(1);

    glNewList(display_list[DL_STARS],GL_COMPILE);
    draw_stars();
    glEndList();

    where draw_stars is something along the lines
    of...
    glBegin(GL_POINTS);
    glVertex2f(blah, blah);
    ...
    glEnd();

    ...

    Okay, that seems to be fine, right? The
    problem is, when I call the list, using

    glCallList(display_list[DL_STARS]);

    nothing gets displayed. This is pretty
    annoying. please help!

    scott olsson

  2. #2

    Re: display lists not working

    doh. All better now!

Similar Threads

  1. va&display lists?
    By imported_titan in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 01-10-2003, 01:53 PM
  2. Display Lists and VAR
    By azcoder in forum OpenGL: Advanced Coding
    Replies: 2
    Last Post: 12-26-2002, 05:27 AM
  3. display lists inside display lists...
    By architekt in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 05-22-2002, 08:55 PM
  4. Display Lists
    By Robin Forster in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 12-14-2001, 06:11 PM
  5. # of display lists
    By Osku in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 01-29-2001, 02:23 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean