diff options
author | Siavash Eliasi <[email protected]> | 2013-11-28 12:26:42 +0330 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2014-01-29 09:11:39 -0700 |
commit | 7fd6ad7adcf8a1c0fc1b2746d47ba5f05b8a3c7f (patch) | |
tree | aaf7e94b7e999166afb3ab84e48192cb4b86e6af /src/mesa/state_tracker | |
parent | b9aaa96ec3a75cdb5ce57e3487441b113391acc9 (diff) |
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 <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker')
-rw-r--r-- | src/mesa/state_tracker/st_extensions.c | 2 |
1 files changed, 0 insertions, 2 deletions
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; |