feat: enable opengl before creating qt app
This commit is contained in:
parent
805c27ea55
commit
0af1c0c2f5
|
@ -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")
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit a20d334a1fb9973032411ed18bf215a0117fb68e
|
Subproject commit 2aadc3b8f8718c29bff51840643e1c54a1c4668b
|
|
@ -1 +1 @@
|
||||||
Subproject commit e78363a0f7a8e1fe3f8247cb608831390e1273ec
|
Subproject commit f2140a0bb0bcf570b73cb968ec5d8973601422af
|
Loading…
Reference in New Issue