Re: [Interest] OpenGL weirdness

2014-08-14 Thread Sean Harmer
On Friday 25 Jul 2014 06:20:35 Yves Bailly wrote: On 24/07/2014 20:33, Till Oliver Knoll wrote: Am 24.07.2014 um 14:13 schrieb Yves Bailly yves.bai...@verosoftware.com: [...] fmt.setVersion(2, 1); ...getGetString(GL_VERSION) gives 4.4.0 (unexpected), and no triangle displayed.

Re: [Interest] OpenGL weirdness

2014-07-25 Thread Yves Bailly
On 24/07/2014 20:33, Till Oliver Knoll wrote: Am 24.07.2014 um 14:13 schrieb Yves Bailly yves.bai...@verosoftware.com: [...] fmt.setVersion(2, 1); ...getGetString(GL_VERSION) gives 4.4.0 (unexpected), and no triangle displayed. As already mentioned in a previous reply: maybe a bit

[Interest] OpenGL weirdness

2014-07-24 Thread Yves Bailly
Greetings all, I'm trying to build a very basic OpenGL program, just displaying a red triangle. Context: - Windows 7 64bits - Qt 5.3.1 (tested with the official MinGW build and a Visual 2012 build) - I will need OpenGL 3.3 core and have to use GLEW - using QGLWidget, overriding the usual

Re: [Interest] OpenGL weirdness

2014-07-24 Thread Giuseppe D'Angelo
Hello, Il 24/07/2014 14:13, Yves Bailly ha scritto: Any idea about what's going on? The same thing occures on both MinGW (32bits) and Visual C++ 2012 (64bits). Can you also dump the context profile? Maybe unless you're requesting both a version = 3.2 *and* a Core profile, then you're

Re: [Interest] OpenGL weirdness

2014-07-24 Thread Agocs Laszlo
+laszlo.agocs=digia@qt-project.org] on behalf of Giuseppe D'Angelo [giuseppe.dang...@kdab.com] Sent: Thursday, July 24, 2014 2:49 PM To: interest@qt-project.org Subject: Re: [Interest] OpenGL weirdness Hello, Il 24/07/2014 14:13, Yves Bailly ha scritto: Any idea about what's going on? The same

Re: [Interest] OpenGL weirdness

2014-07-24 Thread Till Oliver Knoll
Am 24.07.2014 um 14:13 schrieb Yves Bailly yves.bai...@verosoftware.com: [Whenever a Core Profile is explicitly requested rendering stops workin] If I try using some other version: fmt.setVersion(3, 3); fmt.setProfile(QGLFormat::CoreProfile); ...getGetString(GL_VERSION) gives 3.3.0