Kode / Kha

Ultra-portable, high performance, open source multimedia framework.
http://kha.tech
zlib License
1.49k stars 170 forks source link

Windows builds crashing on startup with "No Primary Display Defined" #1241

Closed zshoals closed 4 years ago

zshoals commented 4 years ago

This appears to have been introduced with this commit: https://github.com/Kode/Kinc/commit/7a8365b9836a3f1c69a166b898f0d558f92bf096

The build target was a full build for Windows D3D11, if that's relevant.

Reverting to a commit before this point causes everything to work as expected.

RobDangerous commented 4 years ago

I can not reproduce that. Do you do any Kinc things before calling kinc_init?

RobDangerous commented 4 years ago

Aha, it happens with Kha applications!

zshoals commented 4 years ago

I don't believe so. I should have specified already (my bad honestly), but this happens during the compilation of a Kha project. I have not made any adjustments to Kinc or anything directly.

Lol, timing :).

zshoals commented 4 years ago

Sorry for not specifying that earlier, my bad.

RobDangerous commented 4 years ago

Null problemo.