Difference for 2d/bitmap.c from version 1.4 to 1.5


version 1.4 version 1.5
Line 19
 
Line 19
  * Graphical routines for manipulating grs_bitmaps.   * Graphical routines for manipulating grs_bitmaps.
  *   *
  * $Log$   * $Log$
    * Revision 1.5  1999/10/07 02:27:14  donut
    * OGL includes to remove warnings
    *
  * Revision 1.4  1999/09/22 02:02:31  donut   * 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   * ogl: gr_set_bitmap_data frees the texture rather than just resetting the gltexture flag
  *   *
Line 100
 
Line 103
 #include "bitmap.h"  #include "bitmap.h"
 #include "error.h"  #include "error.h"
   
   #ifdef OGL
   #include "ogl_init.h"
   #endif
   
 void build_colormap_good( ubyte * palette, ubyte * colormap, int * freq );  void build_colormap_good( ubyte * palette, ubyte * colormap, int * freq );
   
Line 140
 
Line 146
  Win32_CreateTexture (bm);   Win32_CreateTexture (bm);
 #endif  #endif
 #ifdef OGL  #ifdef OGL
  bm->gltexture=-1;   bm->gltexture=NULL;
 #endif  #endif
   
 // if (data != 0)  // if (data != 0)
Line 170
 
Line 176
  bm->pvSurface = NULL;   bm->pvSurface = NULL;
 #endif  #endif
 #ifdef OGL  #ifdef OGL
  bm->gltexture=-1;   ogl_freebmtexture(bm);
 #endif  #endif
 }  }
   

Legend:
line(s) removed in v.1.4 
line(s) changed
 line(s) added in v.1.5