include stdio for sscanf for glad_gl_find_core_gl
This commit is contained in:
parent
a49fb3b110
commit
cafc1ff900
|
|
@ -5445,6 +5445,8 @@ static int glad_gl_has_extension(int version, const char *exts, unsigned int num
|
||||||
#define GLAD_VERSION_MAJOR(version) (version / 10000)
|
#define GLAD_VERSION_MAJOR(version) (version / 10000)
|
||||||
#define GLAD_VERSION_MINOR(version) (version % 10000)
|
#define GLAD_VERSION_MINOR(version) (version % 10000)
|
||||||
|
|
||||||
|
#include <stdio.h> /* sscanf */
|
||||||
|
|
||||||
static int glad_gl_find_core_gl(void) {
|
static int glad_gl_find_core_gl(void) {
|
||||||
int i;
|
int i;
|
||||||
const char* version;
|
const char* version;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user