PyOpenGL TypeError in glutCreateWindow
2021-02-02 12:17
标签:字符 错误 spec 类型 creat str pass create asi 使用pyopengl时,窗口标题出现TypeError的错误,查看StackOverflow得知,传入的是字符串类型需要改为如下形式: Basically you need to specify that you are passing byte data rather than a string using b‘Window Title‘ PyOpenGL TypeError in glutCreateWindow 标签:字符 错误 spec 类型 creat str pass create asi 原文地址:https://www.cnblogs.com/structurer/p/11548638.htmlwintitle = b"Yixn for PyOpengl"
glutCreateWindow(wintitle)
上一篇:C#上手练习6(方法语句)
下一篇:Python爬虫-百度贴吧
文章标题:PyOpenGL TypeError in glutCreateWindow
文章链接:http://soscw.com/index.php/essay/49971.html