Просмотр исходного кода

Emscripten: Fixed framebuffer error message.

Philipp Wiesemann 11 лет назад
Родитель
Сommit
697c5c5758
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/video/emscripten/SDL_emscriptenframebuffer.c

+ 1 - 1
src/video/emscripten/SDL_emscriptenframebuffer.c

@@ -63,7 +63,7 @@ int Emscripten_UpdateWindowFramebuffer(_THIS, SDL_Window * window, const SDL_Rec
     SDL_WindowData *data = (SDL_WindowData *) window->driverdata;
     SDL_WindowData *data = (SDL_WindowData *) window->driverdata;
     surface = data->surface;
     surface = data->surface;
     if (!surface) {
     if (!surface) {
-        return SDL_SetError("Couldn't find dummy surface for window");
+        return SDL_SetError("Couldn't find framebuffer surface for window");
     }
     }
 
 
     /* Send the data to the display */
     /* Send the data to the display */