After playing for a while with your demo (painkilled), I found out that evil comes from sc_setup (just comment it in main and you'll see that sound works correctly), at the end I could only strip down your demo to this functions:
Quote:
sc_materials_init();
sc_gBuffer_init(screen, SC_GBUFFER_DEFERRED, screen.settings.bitdepthGBuffer);
sc_deferredLighting_init(screen, 1, screen.settings.bitdepthLBuffer);
sc_forward_init(screen, SC_FORWARD_PASSTHROUGH); // option 2
They are called in sc_setup(SC_SCREEN* screen) (wrapper.c), seems that problem is in one of them.. I played a little bit with views in those files, but with no luck.

Greets


Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung