Serious rendering issues with OpenGL 4.1 and Qt 5

后端 未结 2 886
我在风中等你
我在风中等你 2020-12-21 15:42

I\'ve seen some promising references to being able to run Qt5 on modern OpenGL. I\'m using the following code to set my QQuickView to OpenGL 4.1 Core (the latest supported

2条回答
  •  盖世英雄少女心
    2020-12-21 16:08

    I disagree with it being a bug in Qt. As stated in the link you pasted: "If a #version​ directive does not appear at the top, then it assumes 1.10, which is almost certainly not what you want."

    That is what Qt wants, and that is what a OpenGL4 context should provide/allow as well. It's a bug in the Intel drivers: When you want a >2.0 context, the implicit fallback to version GLSL1.10 doesn't work with Intel drivers

提交回复
热议问题