我有以下代码:
glGenFramebuffers(1, &_defaultFramebuffer);
我收到警告:
Passing 'GLint *' (aka 'int *') to parameter of type 'GLuint *' (aka 'unsigned int *') converts between pointers to integer types with different sign
我将如何使该警告消失?
我有以下代码:
glGenFramebuffers(1, &_defaultFramebuffer);
我收到警告:
Passing 'GLint *' (aka 'int *') to parameter of type 'GLuint *' (aka 'unsigned int *') converts between pointers to integer types with different sign
我将如何使该警告消失?