]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
UNMERGE
authortomaz tomaz@d7cf8633-e32d-0410-b094-e92efae38249 <>
Sat, 11 Sep 2010 09:54:18 +0000 (09:54 +0000)
committerRudolf Polzer <divverent@alientrap.org>
Fri, 24 Sep 2010 20:00:19 +0000 (22:00 +0200)
Ignored MSVC build directories
Silenced a warning in MSVC 2008

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10456 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::unmerge=3c548bdcd17c203e381914e2bad9240646b52e85

model_brush.c

index d9de089a80002315eba044da08562f7184a109af..e84a7ff9a3683b5c95b3140abcf5c89c3e352ee1 100644 (file)
@@ -4713,7 +4713,7 @@ static void Mod_Q3BSP_LoadLightmaps(lump_t *l, lump_t *faceslump)
        // figure out what the most reasonable merge power is within limits
 
        // find the appropriate NxN dimensions to merge to, to avoid wasted space
-       realcount = count >> (int)loadmodel->brushq3.deluxemapping;
+       realcount = count >> loadmodel->brushq3.deluxemapping;
 
        // figure out how big the merged texture has to be
        mergegoal = 128<<bound(0, mod_q3bsp_lightmapmergepower.integer, 6);
@@ -4761,7 +4761,7 @@ static void Mod_Q3BSP_LoadLightmaps(lump_t *l, lump_t *faceslump)
        for (i = 0;i < count;i++)
        {
                // figure out which merged lightmap texture this fits into
-               realindex = i >> (int)loadmodel->brushq3.deluxemapping;
+               realindex = i >> loadmodel->brushq3.deluxemapping;
                lightmapindex = i >> powerdxy;
 
                // choose the destination address