Why does Valgrind not like my usage of glutCreateWindow?

前端 未结 2 899
攒了一身酷
攒了一身酷 2021-01-23 09:44

I\'m using the following code...

169: const char *title = Title.c_str();
170: glutCreateWindow(title);

... Valgrind gives me the following ...<

2条回答
  •  醉梦人生
    2021-01-23 10:00

    Just ignore this; as you can see, the uninitialized value is used way below your code in the OpenGL library, and it's probably not your data that's uninitialized. You might want to dig into it (it may still be a false positive), but you might as well leave it alone.

提交回复
热议问题