dhewm3/neo/tools/radiant
Daniel Gibson b054261a0e Make MFC Tools work with MSAA enabled
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
2021-05-11 00:39:00 +02:00
..
autocaulk.cpp Building with editor support (on Win w/ VS2017) works \o/ 2019-01-13 22:52:28 +01:00
autocaulk.h Fix all whitespace errors 2011-12-10 15:35:54 +01:00
CameraTargetDlg.cpp Building with editor support (on Win w/ VS2017) works \o/ 2019-01-13 22:52:28 +01:00
CameraTargetDlg.h Fix all whitespace errors 2011-12-10 15:35:54 +01:00
CamWnd.cpp Make MFC Tools work with MSAA enabled 2021-05-11 00:39:00 +02:00
CamWnd.h Resolve Win32-isms trying to build tools with x64 MSVC 2021-05-06 03:31:56 +02:00
CapDialog.cpp Building with editor support (on Win w/ VS2017) works \o/ 2019-01-13 22:52:28 +01:00
CapDialog.h Some additional LONG to LONG_PTR fixes for the tools as well as some warning fixes 2021-05-07 16:06:06 -04:00
cmdlib.cpp Building with editor support (on Win w/ VS2017) works \o/ 2019-01-13 22:52:28 +01:00
cmdlib.h Fix all whitespace errors 2011-12-10 15:35:54 +01:00
CommandsDlg.cpp Building with editor support (on Win w/ VS2017) works \o/ 2019-01-13 22:52:28 +01:00
CommandsDlg.h Fix all whitespace errors 2011-12-10 15:35:54 +01:00
CommentsDlg.cpp Building with editor support (on Win w/ VS2017) works \o/ 2019-01-13 22:52:28 +01:00
CommentsDlg.h Fix all whitespace errors 2011-12-10 15:35:54 +01:00
ConsoleDlg.cpp Building with editor support (on Win w/ VS2017) works \o/ 2019-01-13 22:52:28 +01:00
ConsoleDlg.h Fix all whitespace errors 2011-12-10 15:35:54 +01:00
CSG.CPP Building with editor support (on Win w/ VS2017) works \o/ 2019-01-13 22:52:28 +01:00
CurveDlg.cpp Building with editor support (on Win w/ VS2017) works \o/ 2019-01-13 22:52:28 +01:00
CurveDlg.h Fix all whitespace errors 2011-12-10 15:35:54 +01:00
DialogInfo.cpp Building with editor support (on Win w/ VS2017) works \o/ 2019-01-13 22:52:28 +01:00
DialogInfo.h Fix all whitespace errors 2011-12-10 15:35:54 +01:00
DialogTextures.cpp Rename GetWindowScalingFactor() to Win_GetW.., support older Win versions 2021-05-10 03:18:24 +02:00
DialogTextures.h Fix all whitespace errors 2011-12-10 15:35:54 +01:00
DialogThick.cpp Building with editor support (on Win w/ VS2017) works \o/ 2019-01-13 22:52:28 +01:00
DialogThick.h Fix all whitespace errors 2011-12-10 15:35:54 +01:00
DlgCamera.cpp Some additional LONG to LONG_PTR fixes for the tools as well as some warning fixes 2021-05-07 16:06:06 -04:00
DlgCamera.h Fix all whitespace errors 2011-12-10 15:35:54 +01:00
DlgEvent.cpp Building with editor support (on Win w/ VS2017) works \o/ 2019-01-13 22:52:28 +01:00
DlgEvent.h Fix all whitespace errors 2011-12-10 15:35:54 +01:00
DRAG.CPP Some additional LONG to LONG_PTR fixes for the tools as well as some warning fixes 2021-05-07 16:06:06 -04:00
ECLASS.CPP Building with editor support (on Win w/ VS2017) works \o/ 2019-01-13 22:52:28 +01:00
EditorBrush.cpp Some additional LONG to LONG_PTR fixes for the tools as well as some warning fixes 2021-05-07 16:06:06 -04:00
EditorBrush.h Fix all whitespace errors 2011-12-10 15:35:54 +01:00
EditorBrushPrimit.cpp Building with editor support (on Win w/ VS2017) works \o/ 2019-01-13 22:52:28 +01:00
EditorEntity.cpp Some additional LONG to LONG_PTR fixes for the tools as well as some warning fixes 2021-05-07 16:06:06 -04:00
EditorEntity.h Fix all whitespace errors 2011-12-10 15:35:54 +01:00
EditorMap.cpp Some additional LONG to LONG_PTR fixes for the tools as well as some warning fixes 2021-05-07 16:06:06 -04:00
EditorMap.h Fix all whitespace errors 2011-12-10 15:35:54 +01:00
EditViewDlg.cpp Rename GetWindowScalingFactor() to Win_GetW.., support older Win versions 2021-05-10 03:18:24 +02:00
EditViewDlg.h Resolve Win32-isms trying to build tools with x64 MSVC 2021-05-06 03:31:56 +02:00
EntityDlg.cpp Rename GetWindowScalingFactor() to Win_GetW.., support older Win versions 2021-05-10 03:18:24 +02:00
EntityDlg.h Resolve Win32-isms trying to build tools with x64 MSVC 2021-05-06 03:31:56 +02:00
EntityListDlg.cpp Fix most (according to warnings) remaining 64bit issues in tool code 2021-05-08 05:43:52 +02:00
EntityListDlg.h Fix all whitespace errors 2011-12-10 15:35:54 +01:00
EntKeyFindReplace.cpp Building with editor support (on Win w/ VS2017) works \o/ 2019-01-13 22:52:28 +01:00
EntKeyFindReplace.h Fix all whitespace errors 2011-12-10 15:35:54 +01:00
FindTextureDlg.cpp Building with editor support (on Win w/ VS2017) works \o/ 2019-01-13 22:52:28 +01:00
FindTextureDlg.h Fix all whitespace errors 2011-12-10 15:35:54 +01:00
GetString.cpp Building with editor support (on Win w/ VS2017) works \o/ 2019-01-13 22:52:28 +01:00
GetString.h Fix all whitespace errors 2011-12-10 15:35:54 +01:00
GLWidget.cpp Some additional LONG to LONG_PTR fixes for the tools as well as some warning fixes 2021-05-07 16:06:06 -04:00
GLWidget.h Resolve Win32-isms trying to build tools with x64 MSVC 2021-05-06 03:31:56 +02:00
InspectorDialog.cpp Rename GetWindowScalingFactor() to Win_GetW.., support older Win versions 2021-05-10 03:18:24 +02:00
InspectorDialog.h Fix all whitespace errors 2011-12-10 15:35:54 +01:00
LightDlg.cpp Some additional LONG to LONG_PTR fixes for the tools as well as some warning fixes 2021-05-07 16:06:06 -04:00
LightDlg.h Fix all whitespace errors 2011-12-10 15:35:54 +01:00
MainFrm.cpp Rename GetWindowScalingFactor() to Win_GetW.., support older Win versions 2021-05-10 03:18:24 +02:00
MainFrm.h Resolve Win32-isms trying to build tools with x64 MSVC 2021-05-06 03:31:56 +02:00
MapInfo.cpp Fix most (according to warnings) remaining 64bit issues in tool code 2021-05-08 05:43:52 +02:00
MapInfo.h Fix all whitespace errors 2011-12-10 15:35:54 +01:00
MediaPreviewDlg.cpp Rename GetWindowScalingFactor() to Win_GetW.., support older Win versions 2021-05-10 03:18:24 +02:00
MediaPreviewDlg.h Fix all whitespace errors 2011-12-10 15:35:54 +01:00
MRU.CPP Building with editor support (on Win w/ VS2017) works \o/ 2019-01-13 22:52:28 +01:00
MRU.H Fix all whitespace errors 2011-12-10 15:35:54 +01:00
NewProjDlg.cpp Building with editor support (on Win w/ VS2017) works \o/ 2019-01-13 22:52:28 +01:00
NewProjDlg.h Fix all whitespace errors 2011-12-10 15:35:54 +01:00
NewTexWnd.cpp Resolve Win32-isms trying to build tools with x64 MSVC 2021-05-06 03:31:56 +02:00
NewTexWnd.h Resolve Win32-isms trying to build tools with x64 MSVC 2021-05-06 03:31:56 +02:00
PARSE.CPP Building with editor support (on Win w/ VS2017) works \o/ 2019-01-13 22:52:28 +01:00
PARSE.H Fix all whitespace errors 2011-12-10 15:35:54 +01:00
PatchDensityDlg.cpp Building with editor support (on Win w/ VS2017) works \o/ 2019-01-13 22:52:28 +01:00
PatchDensityDlg.h Fix all whitespace errors 2011-12-10 15:35:54 +01:00
PatchDialog.cpp Building with editor support (on Win w/ VS2017) works \o/ 2019-01-13 22:52:28 +01:00
PatchDialog.h Fix all whitespace errors 2011-12-10 15:35:54 +01:00
PMESH.CPP Some additional LONG to LONG_PTR fixes for the tools as well as some warning fixes 2021-05-07 16:06:06 -04:00
PMESH.H Fix all whitespace errors 2011-12-10 15:35:54 +01:00
PointFile.cpp Building with editor support (on Win w/ VS2017) works \o/ 2019-01-13 22:52:28 +01:00
PrefsDlg.cpp Building with editor support (on Win w/ VS2017) works \o/ 2019-01-13 22:52:28 +01:00
PrefsDlg.h Fix all whitespace errors 2011-12-10 15:35:54 +01:00
PreviewDlg.cpp - 4K / DPI aware Tool fixes 2021-05-10 01:09:47 +02:00
PreviewDlg.h Fix all whitespace errors 2011-12-10 15:35:54 +01:00
PropertyList.cpp Rename GetWindowScalingFactor() to Win_GetW.., support older Win versions 2021-05-10 03:18:24 +02:00
PropertyList.h Fix all whitespace errors 2011-12-10 15:35:54 +01:00
QE3.CPP Building with editor support (on Win w/ VS2017) works \o/ 2019-01-13 22:52:28 +01:00
QE3.H Fix all whitespace errors 2011-12-10 15:35:54 +01:00
QEDEFS.H Fix all whitespace errors 2011-12-10 15:35:54 +01:00
QERTYPES.H Fix all whitespace errors 2011-12-10 15:35:54 +01:00
Radiant.cpp Resolve Win32-isms trying to build tools with x64 MSVC 2021-05-06 03:31:56 +02:00
Radiant.h Fix all whitespace errors 2011-12-10 15:35:54 +01:00
RotateDlg.cpp Building with editor support (on Win w/ VS2017) works \o/ 2019-01-13 22:52:28 +01:00
RotateDlg.h Fix all whitespace errors 2011-12-10 15:35:54 +01:00
ScaleDialog.cpp Building with editor support (on Win w/ VS2017) works \o/ 2019-01-13 22:52:28 +01:00
ScaleDialog.h Fix all whitespace errors 2011-12-10 15:35:54 +01:00
SELECT.CPP Building with editor support (on Win w/ VS2017) works \o/ 2019-01-13 22:52:28 +01:00
SELECT.H Fix all whitespace errors 2011-12-10 15:35:54 +01:00
splines.cpp Some additional LONG to LONG_PTR fixes for the tools as well as some warning fixes 2021-05-07 16:06:06 -04:00
splines.h Fix all whitespace errors 2011-12-10 15:35:54 +01:00
SurfaceDlg.cpp Building with editor support (on Win w/ VS2017) works \o/ 2019-01-13 22:52:28 +01:00
SurfaceDlg.h Fix all whitespace errors 2011-12-10 15:35:54 +01:00
TabsDlg.cpp Building with editor support (on Win w/ VS2017) works \o/ 2019-01-13 22:52:28 +01:00
TabsDlg.h Fix all whitespace errors 2011-12-10 15:35:54 +01:00
TearoffContainerWindow.cpp Building with editor support (on Win w/ VS2017) works \o/ 2019-01-13 22:52:28 +01:00
TearoffContainerWindow.h Fix all whitespace errors 2011-12-10 15:35:54 +01:00
TextureBar.cpp Building with editor support (on Win w/ VS2017) works \o/ 2019-01-13 22:52:28 +01:00
TextureBar.h Fix all whitespace errors 2011-12-10 15:35:54 +01:00
Textures.h Fix all whitespace errors 2011-12-10 15:35:54 +01:00
Undo.cpp Building with editor support (on Win w/ VS2017) works \o/ 2019-01-13 22:52:28 +01:00
Undo.h Fix all whitespace errors 2011-12-10 15:35:54 +01:00
VERTSEL.CPP Building with editor support (on Win w/ VS2017) works \o/ 2019-01-13 22:52:28 +01:00
WaitDlg.cpp Building with editor support (on Win w/ VS2017) works \o/ 2019-01-13 22:52:28 +01:00
WaitDlg.h Fix all whitespace errors 2011-12-10 15:35:54 +01:00
WaveOpen.cpp Building with editor support (on Win w/ VS2017) works \o/ 2019-01-13 22:52:28 +01:00
WaveOpen.h Fix all whitespace errors 2011-12-10 15:35:54 +01:00
WIN_DLG.CPP Resolve Win32-isms trying to build tools with x64 MSVC 2021-05-06 03:31:56 +02:00
WIN_QE3.CPP Make MFC Tools work with MSAA enabled 2021-05-11 00:39:00 +02:00
WIN_QE3.RC2 hello world 2011-11-22 15:28:15 -06:00
XYWnd.cpp Some additional LONG to LONG_PTR fixes for the tools as well as some warning fixes 2021-05-07 16:06:06 -04:00
XYWnd.h Resolve Win32-isms trying to build tools with x64 MSVC 2021-05-06 03:31:56 +02:00
Z.CPP Building with editor support (on Win w/ VS2017) works \o/ 2019-01-13 22:52:28 +01:00
Z.H Fix all whitespace errors 2011-12-10 15:35:54 +01:00
ZClip.cpp Building with editor support (on Win w/ VS2017) works \o/ 2019-01-13 22:52:28 +01:00
ZClip.h Fix all whitespace errors 2011-12-10 15:35:54 +01:00
ZWnd.cpp Building with editor support (on Win w/ VS2017) works \o/ 2019-01-13 22:52:28 +01:00
ZWnd.h Fix all whitespace errors 2011-12-10 15:35:54 +01:00