Mercurial > hg > orthanc-stone
diff Framework/Viewport/SdlWindow.h @ 1205:6009c59d8676 broker
fix to sdl
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 02 Dec 2019 14:32:05 +0100 |
parents | 4cc997207d8a |
children | 0ca50d275b9a |
line wrap: on
line diff
--- a/Framework/Viewport/SdlWindow.h Fri Nov 29 21:24:29 2019 +0100 +++ b/Framework/Viewport/SdlWindow.h Mon Dec 02 14:32:05 2019 +0100 @@ -58,6 +58,11 @@ unsigned int GetHeight() const; + /** + * WARNING: "Refresh()" cannot only be called from the main SDL + * thread, in which the window was created. Otherwise, the + * renderer displays nothing! + **/ void Render(struct SDL_Surface* surface); void ToggleMaximize();