1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2026-03-04 04:39:43 +00:00

migrated to SDL3

This commit is contained in:
Zeno Rogue
2025-06-07 16:16:57 +02:00
parent 41ffba600f
commit a80b74dc62
25 changed files with 435 additions and 235 deletions

View File

@@ -226,7 +226,7 @@ renderbuffer::~renderbuffer() {
#endif
#if CAP_SDL
if(srf)
SDL_FreeSurface(srf);
SDL_DestroySurface(srf);
#endif
}
@@ -238,7 +238,7 @@ void renderbuffer::clear(color_t col) {
}
#endif
#if CAP_SDL
SDL_FillRect(srf, NULL, col);
SDL_FillSurfaceRect(srf, NULL, col);
#endif
}