version 1.3 | | version 1.4 |
---|
| | |
* Graphical routines for manipulating grs_bitmaps. | | * Graphical routines for manipulating grs_bitmaps. |
* | | * |
* $Log$ | | * $Log$ |
| | * Revision 1.4 1999/09/22 02:02:31 donut |
| | * ogl: gr_set_bitmap_data frees the texture rather than just resetting the gltexture flag |
| | * |
* Revision 1.3 1999/09/21 04:05:54 donut | | * Revision 1.3 1999/09/21 04:05:54 donut |
* mostly complete OGL implementation (still needs bitmap handling (reticle), and door/fan textures are corrupt) | | * mostly complete OGL implementation (still needs bitmap handling (reticle), and door/fan textures are corrupt) |
* | | * |
| | |
{ | | { |
#ifdef OGL | | #ifdef OGL |
// if (bm->bm_data!=data) | | // if (bm->bm_data!=data) |
bm->gltexture=-1; | | ogl_freebmtexture(bm); |
#endif | | #endif |
bm->bm_data = data; | | bm->bm_data = data; |
#ifdef D1XD3D | | #ifdef D1XD3D |