VirtualBox

Changeset 23108 in vbox


Ignore:
Timestamp:
Sep 18, 2009 5:37:36 AM (15 years ago)
Author:
vboxsync
Message:

crOpenGL: change to proper ifdef

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/GuestHost/OpenGL/state_tracker/state_client.c

    r22365 r23108  
    131131    c->array.v.stride = 0;
    132132    c->array.v.enabled = 0;
    133 #ifdef CR_ARB_vertex_buffer_object2
     133#ifdef CR_ARB_vertex_buffer_object
    134134    c->array.v.buffer = g->bufferobject.vertexBuffer;
    135135#endif
     
    146146    c->array.c.stride = 0;
    147147    c->array.c.enabled = 0;
    148 #ifdef CR_ARB_vertex_buffer_object2
     148#ifdef CR_ARB_vertex_buffer_object
    149149    c->array.c.buffer = g->bufferobject.vertexBuffer;
    150150#endif
     
    161161    c->array.f.stride = 0;
    162162    c->array.f.enabled = 0;
    163 #ifdef CR_ARB_vertex_buffer_object2
     163#ifdef CR_ARB_vertex_buffer_object
    164164    c->array.f.buffer = g->bufferobject.vertexBuffer;
    165165#endif
     
    176176    c->array.s.stride = 0;
    177177    c->array.s.enabled = 0;
    178 #ifdef CR_ARB_vertex_buffer_object2
     178#ifdef CR_ARB_vertex_buffer_object
    179179    c->array.s.buffer = g->bufferobject.vertexBuffer;
    180180#endif
     
    191191    c->array.e.stride = 0;
    192192    c->array.e.enabled = 0;
    193 #ifdef CR_ARB_vertex_buffer_object2
     193#ifdef CR_ARB_vertex_buffer_object
    194194    c->array.e.buffer = g->bufferobject.vertexBuffer;
    195195#endif
     
    206206    c->array.i.stride = 0;
    207207    c->array.i.enabled = 0;
    208 #ifdef CR_ARB_vertex_buffer_object2
     208#ifdef CR_ARB_vertex_buffer_object
    209209    c->array.i.buffer = g->bufferobject.vertexBuffer;
    210210#endif
     
    221221    c->array.n.stride = 0;
    222222    c->array.n.enabled = 0;
    223 #ifdef CR_ARB_vertex_buffer_object2
     223#ifdef CR_ARB_vertex_buffer_object
    224224    c->array.n.buffer = g->bufferobject.vertexBuffer;
    225225#endif
     
    238238        c->array.t[i].stride = 0;
    239239        c->array.t[i].enabled = 0;
    240 #ifdef CR_ARB_vertex_buffer_object2
     240#ifdef CR_ARB_vertex_buffer_object
    241241        c->array.t[i].buffer = g->bufferobject.vertexBuffer;
    242242#endif
     
    255255        c->array.a[i].size = 0;
    256256        c->array.a[i].stride = 0;
    257 #ifdef CR_ARB_vertex_buffer_object2
     257#ifdef CR_ARB_vertex_buffer_object
    258258        c->array.a[i].buffer = g->bufferobject.vertexBuffer;
    259259#endif
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette