/[enigma]/enigma/src/display.cc
ViewVC logotype

Diff of /enigma/src/display.cc

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.35.2.4 by dheck, Wed Oct 1 22:37:16 2003 UTC revision 1.35.2.5 by pius, Fri Oct 3 18:50:44 2003 UTC
# Line 1025  StoneShadowCache::new_surface () { Line 1025  StoneShadowCache::new_surface () {
1025                                                 m_tilew, m_tileh, 16,                                                 m_tilew, m_tileh, 16,
1026                                                 0,0,0,0);                                                 0,0,0,0);
1027          s = Surface::make_surface (SDL_DisplayFormat(ss));          s = Surface::make_surface (SDL_DisplayFormat(ss));
1028            SDL_FreeSurface(ss);
1029  #else  #else
1030          SDL_Surface *ss = SDL_CreateRGBSurface(SDL_SWSURFACE,          SDL_Surface *ss = SDL_CreateRGBSurface(SDL_SWSURFACE,
1031                                                 m_tilew, m_tileh, 32,                                                 m_tilew, m_tileh, 32,
1032                                                 0,0,0,0);                                                 0,0,0,0);
1033          s = Surface::make_surface(ss);          s = Surface::make_surface(ss);
1034  #endif  #endif
         SDL_FreeSurface(ss);  
1035      } else {      } else {
1036          s = m_surface_avail.back();          s = m_surface_avail.back();
1037          m_surface_avail.pop_back();          m_surface_avail.pop_back();

Legend:
Removed from v.1.35.2.4  
changed lines
  Added in v.1.35.2.5

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26