mirror of
https://github.com/ZDoom/Raze.git
synced 2025-06-01 17:52:13 +00:00
- removed GLES support and most related files.
My future plans do not include mobile support due tp poor support of modern APIs so this is essentially just baggage. # Conflicts: # source/build/src/2d.cpp # source/build/src/dxtfilter.cpp # source/build/src/mdsprite.cpp # source/build/src/polymost.cpp # source/build/src/sdlayer.cpp # source/build/src/texcache.cpp
This commit is contained in:
parent
19bcfecc67
commit
ba73268470
6 changed files with 1 additions and 68 deletions
|
@ -485,10 +485,6 @@ void polymost_glreset()
|
|||
#endif
|
||||
}
|
||||
|
||||
#if defined EDUKE32_GLES
|
||||
static void Polymost_DetermineTextureFormatSupport(void);
|
||||
#endif
|
||||
|
||||
// reset vertex pointers to polymost default
|
||||
void polymost_resetVertexPointers()
|
||||
{
|
||||
|
@ -951,9 +947,6 @@ void polymost_glinit()
|
|||
|
||||
polymost_resetVertexPointers();
|
||||
|
||||
#if defined EDUKE32_GLES
|
||||
Polymost_DetermineTextureFormatSupport();
|
||||
#endif
|
||||
}
|
||||
|
||||
void polymost_init()
|
||||
|
@ -1166,7 +1159,6 @@ static float get_projhack_ratio(void)
|
|||
|
||||
static void resizeglcheck(void)
|
||||
{
|
||||
#ifndef EDUKE32_GLES
|
||||
//FUK
|
||||
if (lastglpolygonmode != r_polygonmode)
|
||||
{
|
||||
|
@ -1187,9 +1179,6 @@ static void resizeglcheck(void)
|
|||
glClearColor(1.0,1.0,1.0,0.0);
|
||||
glClear(GL_COLOR_BUFFER_BIT|GL_DEPTH_BUFFER_BIT);
|
||||
}
|
||||
#else
|
||||
glPolygonMode(GL_FRONT_AND_BACK,GL_FILL);
|
||||
#endif
|
||||
|
||||
if ((glox1 != windowxy1.x) || (gloy1 != windowxy1.y) || (glox2 != windowxy2.x) || (gloy2 != windowxy2.y) || (gloxyaspect != gxyaspect) || (gloyxscale != gyxscale) || (glohoriz2 != ghoriz2) || (glohorizcorrect != ghorizcorrect) || (glotang != gtang))
|
||||
{
|
||||
|
@ -7790,22 +7779,16 @@ void polymost_initosdfuncs(void)
|
|||
|
||||
static osdcvardata_t cvars_polymost[] =
|
||||
{
|
||||
{ "r_enablepolymost2","enable/disable polymost2",(void *) &r_enablepolymost2, CVAR_BOOL, 0, 0 }, //POGO: temporarily disable this variable
|
||||
{ "r_pogoDebug","",(void *) &r_pogoDebug, CVAR_BOOL | CVAR_NOSAVE, 0, 1 },
|
||||
{ "r_animsmoothing","enable/disable model animation smoothing",(void *) &r_animsmoothing, CVAR_BOOL, 0, 1 },
|
||||
{ "r_downsize","controls downsizing factor (quality) for hires textures",(void *) &r_downsize, CVAR_INT|CVAR_FUNCPTR, 0, 5 },
|
||||
{ "r_fullbrights","enable/disable fullbright textures",(void *) &r_fullbrights, CVAR_BOOL, 0, 1 },
|
||||
{ "r_parallaxskyclamping","enable/disable parallaxed floor/ceiling sky texture clamping", (void *) &r_parallaxskyclamping, CVAR_BOOL, 0, 1 },
|
||||
{ "r_parallaxskypanning","enable/disable parallaxed floor/ceiling panning when drawing a parallaxing sky", (void *) &r_parallaxskypanning, CVAR_BOOL, 0, 1 },
|
||||
|
||||
{ "r_polymostDebug","Set the verbosity of Polymost GL debug messages",(void *) &r_polymostDebug, CVAR_INT, 0, 3 },
|
||||
#ifdef USE_GLEXT
|
||||
{ "r_detailmapping","enable/disable detail mapping",(void *) &r_detailmapping, CVAR_BOOL, 0, 1 },
|
||||
{ "r_glowmapping","enable/disable glow mapping",(void *) &r_glowmapping, CVAR_BOOL, 0, 1 },
|
||||
#endif
|
||||
#ifndef EDUKE32_GLES
|
||||
{ "r_polygonmode","debugging feature",(void *) &r_polygonmode, CVAR_INT | CVAR_NOSAVE, 0, 3 },
|
||||
#endif
|
||||
|
||||
{ "r_shadescale","multiplier for shading",(void *) &shadescale, CVAR_FLOAT, 0, 10 },
|
||||
{ "r_shadescale_unbounded","enable/disable allowance of complete blackness",(void *) &shadescale_unbounded, CVAR_BOOL, 0, 1 },
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue