On 30 January 2010 12:35, Stefan Dösinger <stefan(a)codeweavers.com> wrote:
> +/* GL_ARB_map_buffer_range */
> +#ifndef GL_ARB_map_buffer_range
> +#define GL_ARB_map_buffer_range
> +typedef GLvoid *(WINE_GLAPI *PGLFNMAPBUFFERRANGE)(GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access);
> +typedef void (WINE_GLAPI *PGLFNFLUSHMAPPEDBUFFERRANGE)(GLenum target, GLintptr offset, GLsizeiptr length);
> +#define GL_MAP_READ_BIT 0x0001
> +#define GL_MAP_WRITE_BIT 0x0002
> +#define GL_MAP_INVALIDATE_RANGE_BIT 0x0004
> +#define GL_MAP_INVALIDATE_BUFFER_BIT 0x0008
> +#define GL_MAP_FLUSH_EXPLICIT_BIT 0x0010
> +#define GL_MAP_UNSYNCHRONIZED_BIT 0x0020
> +#endif
Please keep these definitions consistent with the rest of the file, I
just fixed all of them.