José Fonseca wrote: > On Fri, 2009-06-19 at 11:19 -0700, Brian Paul wrote: >> Module: Mesa >> Branch: master >> Commit: 9d029e0e200eb97993c1b9fb8ab9046172e703e8 >> URL: >> http://cgit.freedesktop.org/mesa/mesa/commit/?id=9d029e0e200eb97993c1b9fb8ab9046172e703e8 >> >> Author: Brian Paul <[email protected]> >> Date: Fri Jun 19 12:19:15 2009 -0600 >> >> st/mesa: remove redundant st_buffer_object::size field and error >> checks >> >> Just use the gl_buffer_object::Size field. Remove unnecessary >> size/offset >> error checks. Core Mesa will have already done these checks before >> these >> functions are called. > > The vbo module uses some of these too. The checks removed are not > important, but in case you're wondering the MapBufferRange related > checks are IMO worth keeping given that they are quite easy to break > when one fiddles with the vbo.
OK, I'll put them back, but as assertions... -Brian ------------------------------------------------------------------------------ Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org _______________________________________________ Mesa3d-dev mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mesa3d-dev
