version 1.6 | | version 1.7 |
---|
| | |
* Sample setup for RCS header | | * Sample setup for RCS header |
* | | * |
* $Log$ | | * $Log$ |
| | * Revision 1.7 2003/07/06 00:45:21 donut |
| | * opengl hardware super-transparency support using GL_NV_register_combiners |
| | * |
* Revision 1.6 2003/03/09 06:41:01 donut | | * Revision 1.6 2003/03/09 06:41:01 donut |
* change byte typedef to sbyte to avoid conflict with win32 byte which is unsigned | | * change byte typedef to sbyte to avoid conflict with win32 byte which is unsigned |
* | | * |
| | |
PIGGY_PAGE_IN(Textures[tmap2&0x3FFF]); | | PIGGY_PAGE_IN(Textures[tmap2&0x3FFF]); |
bm2 = &GameBitmaps[Textures[tmap2&0x3FFF].index]; | | bm2 = &GameBitmaps[Textures[tmap2&0x3FFF].index]; |
} | | } |
if (bm2 && (bm2->bm_flags&BM_FLAG_SUPER_TRANSPARENT)){ | | if (!OGL_SUPER_TRANSPARENT_OK && bm2 && (bm2->bm_flags&BM_FLAG_SUPER_TRANSPARENT)){ |
bm = texmerge_get_cached_bitmap( tmap1, tmap2 ); | | bm = texmerge_get_cached_bitmap( tmap1, tmap2 ); |
bm2 = NULL; | | bm2 = NULL; |
} | | } |