diff options
Diffstat (limited to 'src/gallium/state_trackers/wgl/stw_context.h')
-rw-r--r-- | src/gallium/state_trackers/wgl/stw_context.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/wgl/stw_context.h b/src/gallium/state_trackers/wgl/stw_context.h index 0f180c8e2ec..d0e7f2c9f94 100644 --- a/src/gallium/state_trackers/wgl/stw_context.h +++ b/src/gallium/state_trackers/wgl/stw_context.h @@ -40,6 +40,7 @@ struct stw_context DHGLRC dhglrc; int iPixelFormat; HDC hdc; + HDC hReadDC; BOOL shared; struct stw_framebuffer *current_framebuffer; @@ -59,7 +60,9 @@ struct stw_context *stw_current_context(void); HDC stw_get_current_dc( void ); -BOOL stw_make_current( HDC hdc, DHGLRC dhglrc ); +HDC stw_get_current_read_dc( void ); + +BOOL stw_make_current( HDC hdc, HDC hReadDC, DHGLRC dhglrc ); void stw_notify_current_locked( struct stw_framebuffer *fb ); |