vbo: merge use_buffer_objects into vbo_CreateContext to skip the big malloc
Reviewed-by: Mathias Fröhlich <mathias.froehlich@web.de> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3766>
This commit is contained in:
@@ -890,7 +890,7 @@ OSMesaCreateContextAttribs(const int *attribList, OSMesaContext sharelist)
|
||||
TNLcontext *tnl;
|
||||
|
||||
if (!_swrast_CreateContext( ctx ) ||
|
||||
!_vbo_CreateContext( ctx ) ||
|
||||
!_vbo_CreateContext( ctx, false ) ||
|
||||
!_tnl_CreateContext( ctx ) ||
|
||||
!_swsetup_CreateContext( ctx )) {
|
||||
_mesa_destroy_visual(osmesa->gl_visual);
|
||||
|
Reference in New Issue
Block a user