crumblingstatue
317f58fa31
Make sure CallbackStream doesn't get destroyed before the Music
...
Music's destructor call's stop(), which in turn calls onSeek.
For CSFML, this requires the CallbackStream to stay alive until that point.
In C++, destructors for fields are called in reverse declaration order.
We swap the order of the fields, putting the Music after the
CallbackStream, so it gets destroyed before it.
2021-08-02 23:54:39 +02:00
crumblingstatue
cdc9bc6a21
Fix incorrect sfRenderTexture_createWithSettings header signature
2019-07-17 16:05:43 +02:00
Mika Attila
b4163081ba
Add missing const qualifiers to sfFont methods
2017-03-11 11:42:07 +01:00
Mika Attila
55be7dbfd6
Add setVirtualKeyboardVisible
2016-11-09 18:47:33 +01:00
Mika Attila
6dca26ed3c
Inline the functions in ContextSettingsInternal
...
This solves a visibility problem when linking dynamically against
csfml-graphics.
2016-10-31 16:01:34 +01:00
Mika Attila
aed28415ed
Add sRgbCapable field to sfContextSettings
2016-10-31 14:05:21 +01:00
Mika Attila
2e47e5dbda
Deduplicate code for sfContextSettings ( #116 )
...
Deduplicate code for sfContextSettings
2016-10-31 13:32:34 +01:00
Mika Attila
57eda5f923
Add missing sfContext_getSettings
2016-10-25 15:28:22 +02:00
Mika Attila
b56ca39562
Update docs for sfContext_setActive
2016-10-25 13:53:41 +02:00
Mika Attila
52c7de16f0
Have sfContext_setActive return sfBool instead of void
...
Return the result of sf::Context::setActive instead of discarding it.
2016-10-25 13:50:09 +02:00
Mika Attila
45fe62b7ed
Strip trailing whitespace in Shader.h
2016-09-29 13:31:19 +02:00
Mika Attila
a192e85345
Add missing header for size_t in Shader.h
...
This fixes a build error with GCC 6
2016-09-29 13:30:25 +02:00