makeCurrent();
QImage?bgImage?=?convertToGLFormat(m_bg_image);?//调整为RGBA,并解决上下颠倒的问题
QPixmap?bgPixmap;
bool?su?=?bgPixmap.convertFromImage(bgImage);?//不用QPixmap,显示白的
m_bg_texture?=?bindTexture(bgPixmap);
在“另外一个”线程里绘制之前,有设置相应的pixelformat 以及rendering context吗
Photoshop|
Dreamweaver|
SVG|
WebGL|
Visual Studio|
PowerDesigner|
Eclipse|
Git|
Apache Ant|
Atom|
Composer|
CodeSmith|
Flex|
Gradle|
Maven|
Sublime Text3|
SVN|
Tableau|
Vim|
Chrome开发者工具|
OpenGL|
Unity|
Direct3D|
用户登录
还没有账号?立即注册
用户注册
投稿取消
文章分类: |
|
还能输入300字
上传中....