wgl: Store current HDC/HGLRC in stw_context.
[mesa.git] / src / gallium / state_trackers / wgl / shared / stw_context.h
index 89a8f900d81b73c5a4527b18eb5d97db6a2ee2ec..e276737e85a421408134625afc5ce92e4a65104e 100644 (file)
 #include <windows.h>
 
 struct st_context;
+struct stw_pixelformat_info;
 
 struct stw_context
 {
    struct st_context *st;
+   UINT_PTR hglrc;
    HDC hdc;
    DWORD color_bits;
-   struct stw_context *next;
+   const struct stw_pixelformat_info *pfi;
 };
 
-struct stw_context *
-stw_context_from_hdc(HDC hdc );
-
-
-
-
-
-
-
-
 #endif /* STW_CONTEXT_H */