Emscripten: Fixed framebuffer error message.
This commit is contained in:
parent
3506528b4d
commit
c07f480946
1 changed files with 1 additions and 1 deletions
|
@ -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 */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue