On 01/07/2016 04:57 PM, Nicolai Hähnle wrote: > diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h > index 4d625da..d4c41a7 100644 > --- a/src/mesa/main/mtypes.h > +++ b/src/mesa/main/mtypes.h > @@ -1283,6 +1283,10 @@ struct gl_buffer_object > GLuint NumMapBufferWriteCalls; > > struct gl_buffer_mapping Mappings[MAP_COUNT]; > + > + /** Memoization of min/max index computations for static index buffers */ > + struct hash_table *MinMaxCache; > + GLboolean MinMaxCacheDirty;
Please use bool / true / false since this is not visible to applications. > }; _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev