mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-25 03:00:46 +00:00
Asking the end-user to have sexual intercourse with his family is not that cool.
git-svn-id: https://svn.eduke32.com/eduke32@460 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
59ef78ff35
commit
581fd77c35
1 changed files with 5 additions and 5 deletions
|
@ -149,8 +149,8 @@ GLuint *peels; // peels identifiers
|
||||||
GLuint *peelfbos; // peels FBOs identifiers
|
GLuint *peelfbos; // peels FBOs identifiers
|
||||||
GLuint peelprogram[2]; // ARBfp peeling fragment program
|
GLuint peelprogram[2]; // ARBfp peeling fragment program
|
||||||
|
|
||||||
// Bleh
|
// Detail mapping cvar
|
||||||
long r_detailmapping = 0;
|
long r_detailmapping = 1;
|
||||||
|
|
||||||
float fogresult, ofogresult;
|
float fogresult, ofogresult;
|
||||||
|
|
||||||
|
@ -698,7 +698,7 @@ void polymost_glinit()
|
||||||
if (r_detailmapping && (!glinfo.multitex))
|
if (r_detailmapping && (!glinfo.multitex))
|
||||||
{
|
{
|
||||||
OSD_Printf("Your OpenGL implementation doesn't support detail mapping. Disabling...\n");
|
OSD_Printf("Your OpenGL implementation doesn't support detail mapping. Disabling...\n");
|
||||||
r_depthpeeling = 0;
|
r_detailmapping = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
//depth peeling initialization
|
//depth peeling initialization
|
||||||
|
@ -5231,7 +5231,7 @@ static int osdcmd_polymostvars(const osdfuncparm_t *parm)
|
||||||
if (!glinfo.multitex)
|
if (!glinfo.multitex)
|
||||||
{
|
{
|
||||||
OSD_Printf("Your OpenGL implementation doesn't support detail mapping.\n");
|
OSD_Printf("Your OpenGL implementation doesn't support detail mapping.\n");
|
||||||
r_depthpeeling = 0;
|
r_detailmapping = 0;
|
||||||
return OSDCMD_OK;
|
return OSDCMD_OK;
|
||||||
}
|
}
|
||||||
r_detailmapping = (val != 0);
|
r_detailmapping = (val != 0);
|
||||||
|
@ -5322,7 +5322,7 @@ void polymost_initosdfuncs(void)
|
||||||
OSD_RegisterFunction("r_depthpeeling","r_depthpeeling: enable/disable order-independant transparency",osdcmd_polymostvars);
|
OSD_RegisterFunction("r_depthpeeling","r_depthpeeling: enable/disable order-independant transparency",osdcmd_polymostvars);
|
||||||
OSD_RegisterFunction("r_peelscount","r_peelscount: sets the number of depth layers for depth peeling",osdcmd_polymostvars);
|
OSD_RegisterFunction("r_peelscount","r_peelscount: sets the number of depth layers for depth peeling",osdcmd_polymostvars);
|
||||||
OSD_RegisterFunction("r_curpeel","r_curpeel: allows to display one depth layer at a time (for development purposes)",osdcmd_polymostvars);
|
OSD_RegisterFunction("r_curpeel","r_curpeel: allows to display one depth layer at a time (for development purposes)",osdcmd_polymostvars);
|
||||||
OSD_RegisterFunction("r_detailmapping","r_detailmapping: shut your fucking face uncle fucker",osdcmd_polymostvars);
|
OSD_RegisterFunction("r_detailmapping","r_detailmapping: enable/disable detail-mapping",osdcmd_polymostvars);
|
||||||
#endif
|
#endif
|
||||||
OSD_RegisterFunction("usemodels","usemodels: enable/disable model rendering in >8-bit mode",osdcmd_polymostvars);
|
OSD_RegisterFunction("usemodels","usemodels: enable/disable model rendering in >8-bit mode",osdcmd_polymostvars);
|
||||||
OSD_RegisterFunction("usehightile","usehightile: enable/disable hightile texture rendering in >8-bit mode",osdcmd_polymostvars);
|
OSD_RegisterFunction("usehightile","usehightile: enable/disable hightile texture rendering in >8-bit mode",osdcmd_polymostvars);
|
||||||
|
|
Loading…
Reference in a new issue