[1/5] WineD3D: Add GL_ARB_map_buffer_range

Henri Verbeet hverbeet at gmail.com
Mon Feb 1 04:27:36 CST 2010

On 30 January 2010 12:35, Stefan Dösinger <stefan at 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.

More information about the wine-devel mailing list