st/wgl: pseudo-implementation of WGL_EXT_swap_control
[mesa.git] / src / gallium / state_trackers / wgl / stw_framebuffer.h
index 029fb9ffa34d42d168e197504790ca416b695e05..d44c3a6634a841ee035ec6fe4ba70e00ded0cc1e 100644 (file)
@@ -108,6 +108,9 @@ struct stw_framebuffer
    HANDLE hSharedSurface;
    struct stw_shared_surface *shared_surface;
 
+   /* For WGL_EXT_swap_control */
+   int64_t prev_swap_time;
+
    /** 
     * This is protected by stw_device::fb_mutex, not the mutex above.
     *