mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-20 22:16:49 +01:00
Update for bug 4883 - Add approximation for display DPI on iOS
Aaron Barany I realized I made a minor mistake in my patch: I changed the constructor prototype for SDL_DisplayData, but didn't update the declaration in the .h file. The compiler and linker don't complain, but it would probably be best to fix in case a later change runs into a problem from the mismatch. I have attached a patch to fix this.
This commit is contained in:
parent
a7ae9175c3
commit
bc430d405c
@ -27,7 +27,7 @@
|
||||
|
||||
@interface SDL_DisplayData : NSObject
|
||||
|
||||
- (instancetype)init;
|
||||
- (instancetype)initWithScreen:(UIScreen*)screen;
|
||||
|
||||
@property (nonatomic, strong) UIScreen *uiscreen;
|
||||
@property (nonatomic) float screenDPI;
|
||||
|
Loading…
Reference in New Issue
Block a user