Skip to content

Commit

Permalink
more sdl2 fixes:
Browse files Browse the repository at this point in the history
don't recreate window every scale / fullscreen change
better renderer handling, input scaling no longer needed even if window resizing is enabled
load/save window position (replaces old windows code to do this)
calculate initial mouse position on startup because sdl no longer does this for us
  • Loading branch information
jacob1 committed May 26, 2018
1 parent 802ec4d commit 7ac7eec
Show file tree
Hide file tree
Showing 5 changed files with 111 additions and 189 deletions.
1 change: 0 additions & 1 deletion src/PowderToy.h
Expand Up @@ -4,5 +4,4 @@ void EngineProcess();
void ClipboardPush(ByteString text);
ByteString ClipboardPull();
int GetModifiers();
bool LoadWindowPosition(int scale);
unsigned int GetTicks();

0 comments on commit 7ac7eec

Please sign in to comment.