aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/wgl/stw_ext_extensionsstring.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2015-12-03 09:12:20 -0700
committerBrian Paul <[email protected]>2015-12-03 09:12:20 -0700
commite832b5b7fa196853bc61895869bd20c8b85f0ea9 (patch)
tree732d0ae1817d473f225dadd47d6ae290081a5af2 /src/gallium/state_trackers/wgl/stw_ext_extensionsstring.c
parent47b9ef872b70066756e004a6dd52482ea2899d43 (diff)
st/wgl: add support for WGL_ARB_render_texture
There are a few legacy OpenGL apps on Windows which need this extension. We basically use glCopyTex[Sub]Image to implement wglBindTexImageARB (see the implementation notes for details). v2: refactor code to use st_copy_framebuffer_to_texture() helper function. Reviewed-by: José Fonseca <[email protected]> Reviewed-by: Charmaine Lee <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/wgl/stw_ext_extensionsstring.c')
-rw-r--r--src/gallium/state_trackers/wgl/stw_ext_extensionsstring.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/wgl/stw_ext_extensionsstring.c b/src/gallium/state_trackers/wgl/stw_ext_extensionsstring.c
index a8c085a1341..86b93fb2e28 100644
--- a/src/gallium/state_trackers/wgl/stw_ext_extensionsstring.c
+++ b/src/gallium/state_trackers/wgl/stw_ext_extensionsstring.c
@@ -41,6 +41,7 @@ static const char *stw_extension_string =
"WGL_ARB_multisample "
"WGL_ARB_pbuffer "
"WGL_ARB_pixel_format "
+ "WGL_ARB_render_texture "
"WGL_EXT_create_context_es_profile "
"WGL_EXT_create_context_es2_profile "
/* "WGL_EXT_swap_interval " */