Skip to content

Commit

Permalink
Update for bug 4883 - Add approximation for display DPI on iOS
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
slouken committed Dec 16, 2019
1 parent a7ae917 commit bc430d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/video/uikit/SDL_uikitmodes.h
Expand Up @@ -27,7 +27,7 @@

@interface SDL_DisplayData : NSObject

- (instancetype)init;
- (instancetype)initWithScreen:(UIScreen*)screen;

@property (nonatomic, strong) UIScreen *uiscreen;
@property (nonatomic) float screenDPI;
Expand Down

0 comments on commit bc430d4

Please sign in to comment.