Skip to content

Commit

Permalink
Fix error when building iOS shell apps without Metal support
Browse files Browse the repository at this point in the history
Summary: I ran into this while working on some experimental stuff. This might not affect all shell apps, but makes the #includes slightly more correct anyway.

Reviewed By: corporateshark

Differential Revision: D51374286

fbshipit-source-id: 061ee650ad403b5c9e7b78e7635a27ed1b35f287
  • Loading branch information
Thiago Goulart authored and facebook-github-bot committed Nov 16, 2023
1 parent ec38c93 commit ef48ba8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shell/ios/ViewController.mm
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@

#import "View.h"

#import <Metal/Metal.h>
#import <igl/IGL.h>
#if IGL_BACKEND_METAL
#import <Metal/Metal.h>
#import <igl/metal/HWDevice.h>
#endif
#if IGL_BACKEND_OPENGL
Expand Down

0 comments on commit ef48ba8

Please sign in to comment.