Add glsl shader version of the d3d9 shaders and get enough of it working for it to boot without errors

This commit is contained in:
Magnus Norddahl 2016-10-10 21:03:55 +02:00
commit f4308b3184
6 changed files with 435 additions and 454 deletions

View file

@ -137,8 +137,9 @@ void I_InitGraphics ()
ticker.SetGenericRepDefault (val, CVAR_Bool);
//currentrenderer = vid_renderer;
if (currentrenderer==1) Video = gl_CreateVideo();
else Video = new Win32Video (0);
Video = gl_CreateVideo();
//if (currentrenderer==1) Video = gl_CreateVideo();
//else Video = new Win32Video (0);
if (Video == NULL)
I_FatalError ("Failed to initialize display");