Commit Graph

3 Commits

Author SHA1 Message Date
Brian Paul e95514c0ea st/wgl: add HUD support
v2: fix a few minor issues spotted by Jose.

Reviewed-by: José Fonseca <jfonseca@vmware.com>
2013-04-04 10:41:35 -06:00
José Fonseca c3c1976f52 wgl: Don't hold on to user supplied HDC.
Certain applications (e.g., Bernina My Label, and the Windows
implementation of Processing language) destroy the device context used when
creating the frame-buffer, causing presents to fail because we were still
referring to the old device context internally.

This change ensures we always use the same HDC passed to the ICD
entry-points when available, or our own HDC when not available (necessary
only when flushing on single buffered visuals).
2011-05-24 13:12:39 +01:00
Chia-I Wu 192f06adca st/wgl: Switch from st_public.h to st_api.h. [V2]
This is only compile tested with crossmingw.

V2:
 - reference count stw_framebuffer
2010-04-12 15:32:20 +09:00