Skip to content

Commit 83a6a21

Browse files
committed
[Fix] (Buffer): Fix compiling error for iOS.
1 parent 6a25a9b commit 83a6a21

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

src/main/cpp/gl/buffer.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
#include "log.h"
1212
#include "mg.h"
1313
#include <GL/gl.h>
14-
14+
#include <cstddef>
1515
#include <vector>
1616

1717
typedef struct {

src/main/cpp/gl/framebuffer.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
#define MOBILEGLUES_FRAMEBUFFER_H
77

88
#include <GL/gl.h>
9+
#include <cstddef>
910

1011
#ifdef __cplusplus
1112
extern "C" {

0 commit comments

Comments
 (0)