feat: enable opengl before creating qt app

This commit is contained in:
Richard Ramos 2020-07-15 17:06:47 -04:00 committed by Iuri Matias
parent 805c27ea55
commit 0af1c0c2f5
3 changed files with 3 additions and 2 deletions

View File

@ -21,6 +21,7 @@ proc mainProc() =
status.initNode() status.initNode()
enableHDPI() enableHDPI()
initializeOpenGL()
let app = newQApplication("Nim Status Client") let app = newQApplication("Nim Status Client")
QResource.registerResource(app.applicationDirPath & "/../resources.rcc") QResource.registerResource(app.applicationDirPath & "/../resources.rcc")

2
vendor/DOtherSide vendored

@ -1 +1 @@
Subproject commit a20d334a1fb9973032411ed18bf215a0117fb68e Subproject commit 2aadc3b8f8718c29bff51840643e1c54a1c4668b

2
vendor/nimqml vendored

@ -1 +1 @@
Subproject commit e78363a0f7a8e1fe3f8247cb608831390e1273ec Subproject commit f2140a0bb0bcf570b73cb968ec5d8973601422af