Search
lxdream.org :: lxdream/src/pvr2/rendcore.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/pvr2/rendcore.c
changeset 298:44d94dd0e8aa
prev286:0fa5aae66f31
next308:10a5b5475fb0
author nkeynes
date Wed Jan 17 09:21:09 2007 +0000 (14 years ago)
permissions -rw-r--r--
last change Change tex mode 1 to MODULATE
file annotate diff log raw
1.1 --- a/src/pvr2/rendcore.c Mon Jan 15 10:11:13 2007 +0000
1.2 +++ b/src/pvr2/rendcore.c Wed Jan 17 09:21:09 2007 +0000
1.3 @@ -1,5 +1,5 @@
1.4 /**
1.5 - * $Id: rendcore.c,v 1.8 2007-01-15 10:11:13 nkeynes Exp $
1.6 + * $Id: rendcore.c,v 1.9 2007-01-17 09:21:09 nkeynes Exp $
1.7 *
1.8 * PVR2 renderer core.
1.9 *
1.10 @@ -31,7 +31,7 @@
1.11 GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA, GL_DST_ALPHA,
1.12 GL_ONE_MINUS_DST_ALPHA };
1.13 int pvr2_poly_texblend[4] = {
1.14 - GL_REPLACE, GL_BLEND, GL_DECAL, GL_MODULATE };
1.15 + GL_REPLACE, GL_MODULATE, GL_DECAL, GL_MODULATE };
1.16 int pvr2_render_colour_format[8] = {
1.17 COLFMT_ARGB1555, COLFMT_RGB565, COLFMT_ARGB4444, COLFMT_ARGB1555,
1.18 COLFMT_RGB888, COLFMT_ARGB8888, COLFMT_ARGB8888, COLFMT_ARGB4444 };
1.19 @@ -43,6 +43,7 @@
1.20 #define CULL_CW 3
1.21
1.22 #define SEGMENT_END 0x80000000
1.23 +#define SEGMENT_ZCLEAR 0x40000000
1.24 #define SEGMENT_SORT_TRANS 0x20000000
1.25 #define SEGMENT_START 0x10000000
1.26 #define SEGMENT_X(c) (((c) >> 2) & 0x3F)
.