Use more portable hqx code from googlecode hqx

Conflicts:
	src/CMakeLists.txt
This commit is contained in:
galtgendo 2014-03-02 11:32:45 +01:00
commit 4909aa750f
12 changed files with 13316 additions and 14967 deletions

View file

@ -59,21 +59,6 @@ CUSTOM_CVAR (Float, vid_contrast, 1.f, CVAR_ARCHIVE|CVAR_GLOBALCONFIG)
// when they are actually valid.
void gl_SetupMenu()
{
#ifndef _MSC_VER
FOptionValues **opt = OptionValues.CheckKey("HqResizeModes");
if (opt != NULL)
{
for(int i = (*opt)->mValues.Size()-1; i>=0; i--)
{
// Delete HQnX resize modes for non MSVC targets
if ((*opt)->mValues[i].Value >= 4.0)
{
(*opt)->mValues.Delete(i);
}
}
}
#endif
if (gl.shadermodel < 4)
{
// Radial fog and Doom lighting are not available in SM < 4 cards