mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-08 05:11:51 +08:00
engine: cleanup unused glw_state fields, as they only used in GL renderer
This commit is contained in:
@@ -4,9 +4,9 @@
|
||||
|
||||
typedef struct vidmode_s
|
||||
{
|
||||
const char *desc;
|
||||
int width;
|
||||
int height;
|
||||
const char *desc;
|
||||
int width;
|
||||
int height;
|
||||
} vidmode_t;
|
||||
|
||||
typedef enum window_mode_e
|
||||
@@ -19,30 +19,25 @@ typedef enum window_mode_e
|
||||
|
||||
typedef struct
|
||||
{
|
||||
void* context; // handle to GL rendering context
|
||||
int safe;
|
||||
|
||||
int desktopBitsPixel;
|
||||
int desktopHeight;
|
||||
|
||||
qboolean initialized; // OpenGL subsystem started
|
||||
qboolean extended; // extended context allows to GL_Debug
|
||||
qboolean software;
|
||||
void *context; // handle to GL rendering context
|
||||
int safe;
|
||||
int desktopBitsPixel;
|
||||
qboolean software;
|
||||
} glwstate_t;
|
||||
|
||||
extern glwstate_t glw_state;
|
||||
|
||||
#define VID_MIN_HEIGHT 200
|
||||
#define VID_MIN_WIDTH 320
|
||||
#define VID_MIN_WIDTH 320
|
||||
|
||||
extern convar_t vid_fullscreen;
|
||||
extern convar_t vid_fullscreen;
|
||||
extern convar_t vid_maximized;
|
||||
extern convar_t vid_highdpi;
|
||||
extern convar_t vid_highdpi;
|
||||
extern convar_t window_width;
|
||||
extern convar_t window_height;
|
||||
extern convar_t window_xpos;
|
||||
extern convar_t window_ypos;
|
||||
extern convar_t gl_msaa_samples;
|
||||
extern convar_t gl_msaa_samples;
|
||||
|
||||
void R_SaveVideoMode( int w, int h, int render_w, int render_h, qboolean maximized );
|
||||
void VID_SetDisplayTransform( int *render_w, int *render_h );
|
||||
|
||||
Reference in New Issue
Block a user