Skip to content

Commit e4db303

Browse files
Fixed incorrect number of configs created.
1 parent 5930134 commit e4db303

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/EGL/drivers/eagl/ios/egl_eagl_ios_driver.m

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,7 @@ static EGLBoolean convert_eagl_ios_config (struct EAGL_egl_driver *EAGL_drv,
209209
struct node* pn = (struct node*) malloc(sizeof(struct node)); \
210210
pn->next = NULL; \
211211
pn->config = conf; \
212+
*num_configs += 1; \
212213
if (last) { \
213214
last->next = pn; \
214215
last = pn; \

0 commit comments

Comments
 (0)