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:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user