Ryan C. Gordon 1 день назад
Родитель
Сommit
de51952c2e
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/video/dos/SDL_dosframebuffer.c

+ 1 - 1
src/video/dos/SDL_dosframebuffer.c

@@ -223,7 +223,7 @@ static bool CreateNormalFramebuffer(SDL_VideoDevice *device, SDL_Window *window,
     SDL_Surface *lfb_surface = NULL;
     SDL_Surface *lfb_surface = NULL;
 
 
     if (!data->banked_mode) {
     if (!data->banked_mode) {
-        // LFB path: Make a surface that uses video memory directly, ot let SDL do the blitting for us.
+        // LFB path: Make a surface that uses video memory directly, to let SDL do the blitting for us.
         // Point the LFB surface at the back page for tear-free double-buffering.
         // Point the LFB surface at the back page for tear-free double-buffering.
         int back_page = data->page_flip_available ? (1 - data->current_page) : 0;
         int back_page = data->page_flip_available ? (1 - data->current_page) : 0;
         void *lfb_pixels = (Uint8 *)DOS_PhysicalToLinear(data->mapping.address) + data->page_offset[back_page];
         void *lfb_pixels = (Uint8 *)DOS_PhysicalToLinear(data->mapping.address) + data->page_offset[back_page];