From 697c5c5758ec02d2ca028ad3b01d3ff3394c4e4e Mon Sep 17 00:00:00 2001 From: Philipp Wiesemann Date: Sat, 14 Feb 2015 00:10:58 +0100 Subject: [PATCH] Emscripten: Fixed framebuffer error message. --- src/video/emscripten/SDL_emscriptenframebuffer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/video/emscripten/SDL_emscriptenframebuffer.c b/src/video/emscripten/SDL_emscriptenframebuffer.c index 1c76923dd..453865abb 100644 --- a/src/video/emscripten/SDL_emscriptenframebuffer.c +++ b/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; surface = data->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 */