mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-03 07:10:15 +01:00
drisw: Enable SGI_make_current_read for direct contexts
Equivalent to glXMakeContextCurrent, which had better already work since we advertise GLX 1.3. Signed-off-by: Adam Jackson <ajax@redhat.com>
This commit is contained in:
parent
dc4ef91601
commit
6d3d0ca9e9
1 changed files with 2 additions and 0 deletions
|
|
@ -506,6 +506,8 @@ driswBindExtensions(struct drisw_screen *psc, const __DRIextension **extensions)
|
|||
{
|
||||
int i;
|
||||
|
||||
__glXEnableDirectExtension(&psc->base, "GLX_SGI_make_current_read");
|
||||
|
||||
/* FIXME: Figure out what other extensions can be ported here from dri2. */
|
||||
for (i = 0; extensions[i]; i++) {
|
||||
if ((strcmp(extensions[i]->name, __DRI_TEX_BUFFER) == 0)) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue