Skip to content
Snippets Groups Projects
Forked from STJr / SRB2
Source project has a limited visibility.
  • Eidolon's avatar
    fe7d19cc
    Use vertex arrays to draw in DrawPolygon for OpenGL. · fe7d19cc
    Eidolon authored
    This should introduce a minor performance boost for slow CPUs in
    OpenGL mode. If it doesn't, it shouldn't be any slower. It also puts
    us a little closer to supporting GLES as well.
    
    This introduces several new pgl function pointers that are from
    GL 1.1. I do not check for their existence because no driver out in
    the wild in active use doesn't support 1.1.
    fe7d19cc
    History
    Use vertex arrays to draw in DrawPolygon for OpenGL.
    Eidolon authored
    This should introduce a minor performance boost for slow CPUs in
    OpenGL mode. If it doesn't, it shouldn't be any slower. It also puts
    us a little closer to supporting GLES as well.
    
    This introduces several new pgl function pointers that are from
    GL 1.1. I do not check for their existence because no driver out in
    the wild in active use doesn't support 1.1.