简体   繁体   中英

Error: Implicit declaration of function

The code I have below has an error. It says implicit declaration of function is invalid in C99.

I'm not too sure on how to fix this.

glGenVertexArraysOES(1, &_vertexArray);

您是否导入了OpenGL所需的标头?

#import <OpenGLES/ES2/glext.h>

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM