diff options
author | Samuel Fadel <samuelfadel@gmail.com> | 2016-02-03 14:59:54 -0200 |
---|---|---|
committer | Samuel Fadel <samuelfadel@gmail.com> | 2016-02-03 14:59:54 -0200 |
commit | 0c6b0288847cf2bf01951477e9631f30c003ce5d (patch) | |
tree | 3dce3d7306af7eb21bcaeb37a01aa9fd957a1a6a | |
parent | 28f8ac15898f029e86ab7cb01f41964ac7997538 (diff) |
Removed OpenGL version request from main().
It seems that Windows does not support the currently set version
while not setting a version works.
-rw-r--r-- | main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -124,7 +124,7 @@ int main(int argc, char **argv) // Set up multisampling QSurfaceFormat fmt; fmt.setRenderableType(QSurfaceFormat::OpenGL); - fmt.setVersion(4, 5); + //fmt.setVersion(4, 5); fmt.setRedBufferSize(8); fmt.setGreenBufferSize(8); fmt.setBlueBufferSize(8); |