aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Fadel <samuelfadel@gmail.com>2016-02-03 14:59:54 -0200
committerSamuel Fadel <samuelfadel@gmail.com>2016-02-03 14:59:54 -0200
commit0c6b0288847cf2bf01951477e9631f30c003ce5d (patch)
tree3dce3d7306af7eb21bcaeb37a01aa9fd957a1a6a
parent28f8ac15898f029e86ab7cb01f41964ac7997538 (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.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.cpp b/main.cpp
index 295b103..16167d3 100644
--- a/main.cpp
+++ b/main.cpp
@@ -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);