[4.1/6] WineD3D: Add GLintptr and GLsizeiptr

Stefan Dösinger stefandoesinger at gmx.at
Sat Jan 2 07:31:58 CST 2010


Am 02.01.2010 um 13:26 schrieb Henri Verbeet:

> 2010/1/1 Stefan Dösinger <stefan at codeweavers.com>:
>> +typedef void (WINE_GLAPI *PGLBUFFERPARAMETERIAPPLE) (GLenum target, GLenum pname, GLint param);
>> +typedef void (WINE_GLAPI *PGLFLUSHMAPPEDBUFFERRANGEAPPLE) (GLenum target, ptrdiff_t offset, ptrdiff_t size);

> Also, "ptrdiff_t" doesn't match the spec at
> http://www.opengl.org/registry/specs/APPLE/flush_buffer_range.txt.
There were no GLintptr and GLsizeiptr defines, so I used ptrdiff_t like the ARB_vertex_buffer functions did.

This patch here adds the new defines and fixes the ARB_vbo definitions, the 4.2 patch uses the new definitions and fixes the typedef names.


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0004-WineD3D-Add-GLintptr-and-GLsizeiptr.txt
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20100102/349e6ffe/attachment.txt>
-------------- next part --------------




More information about the wine-patches mailing list