当我将Double_buffer用于显示模式时,我无法在场景上渲染任何东西 [英] When i use Double_buffer for a display mode i'm not able to render any thing on Scene

查看:82
本文介绍了当我将Double_buffer用于显示模式时,我无法在场景上渲染任何东西的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已将显示"模式用作双缓冲区,并且当我未显示绘制场景时,我已使用了交换缓冲区,但是当我使用单缓冲区"能够渲染场景时,也是如此.

I have used Display mode as double buffer and when i draw scene is not being displayed i have used swapbuffers, but the same when i used Single buffer is able to render scene.

推荐答案

交换缓冲区可能仅拥有hDC!
Swap buffers may only owner hDC!


这篇关于当我将Double_buffer用于显示模式时,我无法在场景上渲染任何东西的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆