mirror of
https://github.com/dhewm/dhewm3.git
synced 2024-12-11 13:30:59 +00:00
b054261a0e
The problem was that the editors called ChoosePixelFormat() instead of wglChoosePixelFormatARB() - and the normal ChoosePixelFormat() has no attribute for MSAA, so if MSAA is enabled (by SDL2 which calls the wgl variant), ChoosePixelFormat() will return an incomaptible format and the editors don't get a working OpenGL context. So I wrote a wrapper around ChoosePixelFormat() that calls the wgl variant if available, and all the necessary plumbing around that. While at it, removed the unused qwgl*PixelFormat function pointers and supressed the "inconsistent dll linkage" warnings for the gl stubs |
||
---|---|---|
.. | ||
af | ||
comafx | ||
common | ||
compilers | ||
debugger | ||
decl | ||
guied | ||
Help | ||
materialeditor | ||
particle | ||
pda | ||
radiant | ||
script | ||
sound | ||
edit_gui_common.h | ||
edit_public.h | ||
edit_stub.cpp |