VID_CompareMode removed
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 23 Sep 2002 05:56:04 +0000 (05:56 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 23 Sep 2002 05:56:04 +0000 (05:56 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2422 d7cf8633-e32d-0410-b094-e92efae38249

vid.h
vid_shared.c

diff --git a/vid.h b/vid.h
index 708514e..6c23c88 100644 (file)
--- a/vid.h
+++ b/vid.h
@@ -94,8 +94,6 @@ void GL_CloseLibrary(void);
 void *GL_GetProcAddress(const char *name);
 int GL_CheckExtension(const char *name, const gl_extensionfunctionlist_t *funcs, const char *disableparm, int silent);
 
-double VID_CompareMode(int width1, int height1, int bpp1, int width2, int height2, int bpp2);
-
 void VID_InitCvars(void);
 
 void GL_Init (void);
index 561e0d8..2fbd3df 100644 (file)
@@ -333,15 +333,6 @@ void VID_CheckExtensions(void)
                qglDrawRangeElements = qglDrawRangeElementsEXT;
 }
 
-double VID_CompareMode(int width1, int height1, int bpp1, int width2, int height2, int bpp2)
-{
-       double dw, dh, db;
-       dw = ((width2 - width1) / 2048) * 16;
-       dh = ((height2 - height1) / 1536) * 4;
-       db = (bpp2 - bpp1) / 32;
-       return dw * dw + dh * dh + db * db;
-}
-
 void Force_CenterView_f (void)
 {
        cl.viewangles[PITCH] = 0;