mirror of
https://github.com/yawut/SDL.git
synced 2026-09-27 02:36:39 -05:00
Windows: Always set the system timer resolution to 1ms by default.
An existing hint lets apps that don't need the timer resolution changed avoid this, to save battery, etc, but this fixes several problems in timing, audio callbacks not firing fast enough, etc. Fixes Bugzilla #2944.
This commit is contained in:
12
Xcode-iOS/Demos/src/common.h
Normal file
12
Xcode-iOS/Demos/src/common.h
Normal file
@@ -0,0 +1,12 @@
|
||||
/*
|
||||
* common.h
|
||||
* written by Holmes Futrell
|
||||
* use however you want
|
||||
*/
|
||||
|
||||
#define SCREEN_WIDTH 320
|
||||
#define SCREEN_HEIGHT 480
|
||||
|
||||
extern int randomInt(int min, int max);
|
||||
extern float randomFloat(float min, float max);
|
||||
extern void fatalError(const char *string);
|
||||
Reference in New Issue
Block a user