如果关闭Windows合成器,QGlWidget将无法正确更新

时间:2017-06-23 12:39:42

标签: c++ opengl qt5

如果我在Windows 7中切换透明度,则注意到嵌入到QGlWidget中的场景更新无法正常工作。场景不会完全更新或仅在一段时间后更新。事件被正确调用。 OpenGL上下文使用3.3。看起来像帧缓冲问题。有人注意到类似的行为吗?

1 个答案:

答案 0 :(得分:0)

看起来像合成器的一个已知问题,我必须调用InvalidateRect。

<table class="my-table">
  <thead>
    <tr>
      <th>1</th>
      <th>2</th>
      <th>3</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td>hello</td>
      <td>hello</td>
      <td>
        <span class="dropdown">
    					<button class="btn btn-default dropdown-toggle btn-xs" type="button" id="menu1" data-toggle="dropdown">
    						Actions <span class="caret"></span>
        </button>
        <ul class="dropdown-menu dropdown-menu-right" style="min-width: 100px">
          <li><a style="text-decoration: none !important; cursor: pointer;" class="benefitRecipientDelete">Delete</a></li>
          </a>
          </li>
        </ul>
        </span>
      </td>
    </tr>
    <tr>
      <td>hello</td>
      <td>hello</td>
      <td>
        <span class="dropdown">
    					<button class="btn btn-default dropdown-toggle btn-xs" type="button" id="menu1" data-toggle="dropdown">
    						Actions <span class="caret"></span>
        </button>
        <ul class="dropdown-menu dropdown-menu-right" style="min-width: 100px">
          <li><a style="text-decoration: none !important; cursor: pointer;" class="benefitRecipientDelete">Delete</a></li>
          </a>
          </li>
        </ul>
        </span>
      </td>
    </tr>
    <tr>
      <td>hello</td>
      <td>hello</td>
      <td>
        <span class="dropdown">
    					<button class="btn btn-default dropdown-toggle btn-xs" type="button" id="menu1" data-toggle="dropdown">
    						Actions <span class="caret"></span>
        </button>
        <ul class="dropdown-menu dropdown-menu-right" style="min-width: 100px">
          <li><a style="text-decoration: none !important; cursor: pointer;" class="benefitRecipientDelete">Delete</a></li>
          </a>
          </li>
        </ul>
        </span>
      </td>
    </tr>
  </tbody>
</table>