diff options
author | Sven Gothel <[email protected]> | 2011-02-11 08:09:53 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2011-02-11 08:09:53 +0100 |
commit | bf75331124d6d0c53b74d5235ec03f5fcbc55cba (patch) | |
tree | 36c9ad23c37826d3e4d6bc16832e271c48bd3682 /make/stub_includes/opengl/cg.c | |
parent | ffe215ecf60da12605b29f3fa1d08eafebcb415a (diff) |
Win,GDI,SWT: Fix pfd to caps conversion. Added thorough debug code.
Debug code added for use case: WinXP-32bit, GDI, SWT,
where WGL.wglGetCurrentDC() returns a non null value which is invalid.
Using the value (hdc) on eg GDI.GetObjectType(hdc) return 0 instead of
3 (OBJ_DC) and GDI.GetPixelFormat(hdc) returns 0 with last error 2000.
Diffstat (limited to 'make/stub_includes/opengl/cg.c')
0 files changed, 0 insertions, 0 deletions