git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5141
d7cf8633-e32d-0410-b094-
e92efae38249
datapointer += 768;
switch(rendermode)
{
- case SPRHL_NORMAL:
- for (i = 0;i < 255;i++)
+ case SPRHL_OPAQUE:
+ for (i = 0;i < 256;i++)
{
palette[i][0] = *in++;
palette[i][1] = *in++;
}
break;
case SPRHL_ALPHATEST:
- for (i = 0;i < 255;i++)
+ for (i = 0;i < 256;i++)
{
palette[i][0] = *in++;
palette[i][1] = *in++;
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the GNU General Public License for more details.
#define SPR_ORIENTED 3
#define SPR_VP_PARALLEL_ORIENTED 4
-#define SPRHL_NORMAL 0
+#define SPRHL_OPAQUE 0
#define SPRHL_ADDITIVE 1
-// no idea how to handle these two rendering modes
#define SPRHL_INDEXALPHA 2
#define SPRHL_ALPHATEST 3