wined3d: Add GL_APPLE_client_storage to our extension list.
This commit is contained in:
parent
71971409c8
commit
f9ee2355d0
|
@ -812,6 +812,8 @@ BOOL IWineD3DImpl_FillGLCaps(IWineD3D *iface, Display* display) {
|
||||||
*/
|
*/
|
||||||
gl_info->supported[NV_FENCE] = FALSE;
|
gl_info->supported[NV_FENCE] = FALSE;
|
||||||
gl_info->supported[APPLE_FENCE] = TRUE;
|
gl_info->supported[APPLE_FENCE] = TRUE;
|
||||||
|
} else if (strstr(ThisExtn, "GL_APPLE_client_storage")) {
|
||||||
|
gl_info->supported[APPLE_CLIENT_STORAGE] = TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (*GL_Extensions == ' ') GL_Extensions++;
|
if (*GL_Extensions == ' ') GL_Extensions++;
|
||||||
|
|
|
@ -1147,7 +1147,7 @@ typedef void (APIENTRY * PGLFNFINISHFENCENVPROC) (GLuint);
|
||||||
typedef GLboolean (APIENTRY * PGLFNISFENCENVPROC) (GLuint);
|
typedef GLboolean (APIENTRY * PGLFNISFENCENVPROC) (GLuint);
|
||||||
typedef void (APIENTRY * PGLFNGETFENCEIVNVPROC) (GLuint, GLenum, GLint *);
|
typedef void (APIENTRY * PGLFNGETFENCEIVNVPROC) (GLuint, GLenum, GLint *);
|
||||||
/* GL_APPLE_fence */
|
/* GL_APPLE_fence */
|
||||||
#ifndef GL_NV_fence
|
#ifndef GL_APPLE_fence
|
||||||
#define GL_DRAW_PIXELS_APPLE 0x8A0A
|
#define GL_DRAW_PIXELS_APPLE 0x8A0A
|
||||||
#define GL_FENCE_APPLE 0x84F3
|
#define GL_FENCE_APPLE 0x84F3
|
||||||
#endif
|
#endif
|
||||||
|
@ -1159,6 +1159,10 @@ typedef void (APIENTRY * PGLFNFINISHFENCEAPPLEPROC) (GLuint);
|
||||||
typedef GLboolean (APIENTRY * PGLFNISFENCEAPPLEPROC) (GLuint);
|
typedef GLboolean (APIENTRY * PGLFNISFENCEAPPLEPROC) (GLuint);
|
||||||
typedef GLboolean (APIENTRY * PGLFNTESTOBJECTAPPLEPROC) (GLenum, GLuint);
|
typedef GLboolean (APIENTRY * PGLFNTESTOBJECTAPPLEPROC) (GLenum, GLuint);
|
||||||
typedef void (APIENTRY * PGLFNFINISHOBJECTAPPLEPROC) (GLenum, GLuint);
|
typedef void (APIENTRY * PGLFNFINISHOBJECTAPPLEPROC) (GLenum, GLuint);
|
||||||
|
/* GL_APPLE_client_storage */
|
||||||
|
#ifndef GL_APPLE_client_storage
|
||||||
|
#define GL_UNPACK_CLIENT_STORAGE_APPLE 0x85B2
|
||||||
|
#endif
|
||||||
/* GL_ATI_envmap_bumpmap */
|
/* GL_ATI_envmap_bumpmap */
|
||||||
#ifndef GL_ATI_envmap_bumpmap
|
#ifndef GL_ATI_envmap_bumpmap
|
||||||
#define GL_BUMP_ROT_MATRIX_ATI 0x8775
|
#define GL_BUMP_ROT_MATRIX_ATI 0x8775
|
||||||
|
@ -1540,6 +1544,7 @@ typedef enum _GL_SupportedExt {
|
||||||
ATI_ENVMAP_BUMPMAP,
|
ATI_ENVMAP_BUMPMAP,
|
||||||
/* APPLE */
|
/* APPLE */
|
||||||
APPLE_FENCE,
|
APPLE_FENCE,
|
||||||
|
APPLE_CLIENT_STORAGE,
|
||||||
|
|
||||||
OPENGL_SUPPORTED_EXT_END
|
OPENGL_SUPPORTED_EXT_END
|
||||||
} GL_SupportedExt;
|
} GL_SupportedExt;
|
||||||
|
|
Loading…
Reference in New Issue