From 7fd6ad7adcf8a1c0fc1b2746d47ba5f05b8a3c7f Mon Sep 17 00:00:00 2001 From: Siavash Eliasi Date: Thu, 28 Nov 2013 12:26:42 +0330 Subject: mesa: GL_ARB_map_buffer_alignment is not optional Every driver supports it. All current and future Gallium drivers always support it, and all existing classic drivers support it. v2: Making GL_ARB_map_buffer_alignment a desktop OpenGL extension only. v3: Squash two commits together. v4 (idr): MIN_MAP_BUFFER_ALIGNMENT queries don't have any dependencies. In previous versions of the patch it depended on EXTRA_API_GL which would prevent the query from working in core profile contexts. Signed-off-by: Ian Romanick --- src/mesa/state_tracker/st_extensions.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/mesa/state_tracker/st_extensions.c') diff --git a/src/mesa/state_tracker/st_extensions.c b/src/mesa/state_tracker/st_extensions.c index a27f70206a8..fe76073261f 100644 --- a/src/mesa/state_tracker/st_extensions.c +++ b/src/mesa/state_tracker/st_extensions.c @@ -742,8 +742,6 @@ void st_init_extensions(struct st_context *st) ctx->Const.MinMapBufferAlignment = screen->get_param(screen, PIPE_CAP_MIN_MAP_BUFFER_ALIGNMENT); - ctx->Extensions.ARB_map_buffer_alignment = GL_TRUE; - if (screen->get_param(screen, PIPE_CAP_TEXTURE_BUFFER_OBJECTS)) { ctx->Extensions.ARB_texture_buffer_object = GL_TRUE; -- cgit v1.2.3