aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/wgl/stw_wgl.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2017-03-16 11:40:02 -0600
committerBrian Paul <[email protected]>2017-03-31 13:30:54 -0600
commit7d0aac23927fa68fda1cd30da65eaa297dd2f994 (patch)
tree4955c2c213a3467b30f63d0ed9412c095bc871b9 /src/gallium/state_trackers/wgl/stw_wgl.c
parent7753f040facc89de4dacc33f9407a4fa334bf58c (diff)
st/wgl: add support for WGL_ARB_make_current_read
This adds the wglMakeContextCurrentARB() and wglGetCurrentReadDCARB() functions. Signed-off-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/wgl/stw_wgl.c')
-rw-r--r--src/gallium/state_trackers/wgl/stw_wgl.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/wgl/stw_wgl.c b/src/gallium/state_trackers/wgl/stw_wgl.c
index 5146e6a5b79..de4b4f6f3b0 100644
--- a/src/gallium/state_trackers/wgl/stw_wgl.c
+++ b/src/gallium/state_trackers/wgl/stw_wgl.c
@@ -99,6 +99,13 @@ wglGetCurrentDC( VOID )
return stw_get_current_dc();
}
+WINGDIAPI HDC APIENTRY
+wglGetCurrentReadDCARB( VOID )
+{
+ return stw_get_current_read_dc();
+}
+
+
WINGDIAPI BOOL APIENTRY
wglMakeCurrent(
HDC hdc,