We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e335646 commit c22eb61Copy full SHA for c22eb61
src/main.cpp
@@ -185,15 +185,15 @@ void Close(pntr_app* app) {
185
pntr_app Main(int argc, char* argv[]) {
186
(void)argc;
187
(void)argv;
188
- return (pntr_app) {
189
- .width = 800,
190
- .height = 600,
191
- .title = "ChaiLove",
192
- .init = Init,
193
- .update = Update,
194
- .close = Close,
195
- .event = Event,
196
- .fps = 0,
197
- .extensions = "chai|chailove"
198
- };
+ pntr_app app = { 0 };
+ app.width = 800,
+ app.height = 600,
+ app.title = "ChaiLove",
+ app.init = Init,
+ app.update = Update,
+ app.close = Close,
+ app.event = Event,
+ app.fps = 0,
+ app.extensions = "chai|chailove";
+ return app;
199
}
0 commit comments