win_opengl: (WIP)UI for options. Add comments to help find conditionals that put opengl in dev_branch.

This commit is contained in:
ts-korhonen
2021-04-21 01:33:01 +03:00
parent 58d2f6e3ff
commit 3088c6c26f
10 changed files with 97 additions and 41 deletions

View File

@@ -90,7 +90,10 @@ extern int vid_cga_contrast, /* (C) video */
video_fullscreen_scale, /* (C) video */
enable_overscan, /* (C) video */
force_43, /* (C) video */
video_vsync, /* (C) video */
video_frametime, /* (C) video */
gfxcard; /* (C) graphics/video card */
extern char video_shader[512]; /* (C) video */
extern int serial_enabled[], /* (C) enable serial ports */
bugger_enabled, /* (C) enable ISAbugger */
postcard_enabled, /* (C) enable POST card */

View File

@@ -116,6 +116,7 @@
#define IDS_2140 2140 // "CD-ROM images (*.ISO;*.CU.."
#define IDS_2141 2141 // "%hs Device Configuration"
#define IDS_2142 2142 // "Monitor in sleep mode"
#define IDS_2143 2143 // "OpenGL Shaders (*.GLSL)..."
#define IDS_4096 4096 // "Hard disk (%s)"
#define IDS_4097 4097 // "%01i:%01i"
@@ -223,7 +224,7 @@
#define IDS_LANG_ENUS IDS_7168
#define STR_NUM_2048 95
#define STR_NUM_2048 96
#define STR_NUM_3072 11
#define STR_NUM_4096 39
#define STR_NUM_4352 6

View File

@@ -341,6 +341,17 @@
#define IDM_DISCORD 40090
#endif
#ifdef DEV_BRANCH /* feature-opengl */
#define IDM_VID_GL_FPS_BLITTER 40100
#define IDM_VID_GL_FPS_25 40101
#define IDM_VID_GL_FPS_30 40102
#define IDM_VID_GL_FPS_50 40103
#define IDM_VID_GL_FPS_60 40104
#define IDM_VID_GL_FPS_75 40105
#define IDM_VID_GL_VSYNC 40106
#define IDM_VID_GL_SHADER 40107
#endif
#define IDM_LOG_BREAKPOINT 51201
#define IDM_DUMP_VRAM 51202 // should be an Action

View File

@@ -17,7 +17,7 @@
#include <glad/glad.h>
GLuint load_custom_shaders();
GLuint load_custom_shaders(const char* path);
GLuint load_default_shaders();
#endif /*!WIN_OPENGL_GLSLP_H*/