add from giga-device, new branch added
This commit is contained in:
@@ -32,7 +32,7 @@ SN_API GLFWglproc SN_DECL loadGlfuncDefault(char *procName)
|
||||
void *ret = glfwGetProcAddress(procName);
|
||||
// printf("%llu\n", (uint64_t)ret);
|
||||
if (ret == NULL) {
|
||||
strcpy_s(infolog, 30, "Failed to load OpenGL api:");
|
||||
strcpy_s(infolog,30, "Failed to load OpenGL api:");
|
||||
for (size_t i = 0; i < sizeof(procName); i++) {
|
||||
infolog[30 + i] = procName[i];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user