mirror of
https://github.com/dhewm/dhewm3.git
synced 2024-11-27 06:32:27 +00:00
Get rid of editor specific win32 vars
We don't compile any mfc crap for our own good, so get rid of these.
This commit is contained in:
parent
227fac443d
commit
ac921bc99f
2 changed files with 0 additions and 26 deletions
|
@ -33,9 +33,6 @@ If you have questions concerning this license or the applicable additional terms
|
|||
#include "framework/Licensee.h"
|
||||
|
||||
#include "renderer/tr_local.h"
|
||||
#if defined(_WIN32)
|
||||
#include "sys/win32/win_local.h"
|
||||
#endif
|
||||
|
||||
/*
|
||||
===================
|
||||
|
@ -161,20 +158,6 @@ bool GLimp_Init(glimpParms_t parms) {
|
|||
return false;
|
||||
}
|
||||
|
||||
#ifdef _WIN32
|
||||
// the editors still rely on these vars
|
||||
SDL_SysWMinfo info;
|
||||
SDL_VERSION(&info.version);
|
||||
|
||||
if (SDL_GetWMInfo(&info)) {
|
||||
win32.hDC = wglGetCurrentDC();
|
||||
win32.hGLRC = info.hglrc;
|
||||
}
|
||||
|
||||
win32.pixelformat = GetPixelFormat(win32.hDC);
|
||||
DescribePixelFormat(win32.hDC, win32.pixelformat, sizeof(win32.pfd), &win32.pfd);
|
||||
#endif
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
|
@ -64,15 +64,6 @@ struct Win32Vars_t {
|
|||
|
||||
OSVERSIONINFOEX osversion;
|
||||
|
||||
// when we get a windows message, we store the time off so keyboard processing
|
||||
// can know the exact time of an event (not really needed now that we use async direct input)
|
||||
int sysMsgTime;
|
||||
|
||||
HDC hDC; // handle to device context
|
||||
HGLRC hGLRC; // handle to GL rendering context
|
||||
PIXELFORMATDESCRIPTOR pfd;
|
||||
int pixelformat;
|
||||
|
||||
static idCVar win_outputDebugString;
|
||||
static idCVar win_outputEditString;
|
||||
static idCVar win_viewlog;
|
||||
|
|
Loading…
Reference in a new issue