MCPcopy Create free account
hub / github.com/danoon2/Boxedwine / runOnUiThread

Method runOnUiThread

platform/sdl/knativeinputSDL.cpp:43–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41}
42
43void KNativeInputSDL::runOnUiThread(std::function<void()> callback) {
44 DISPATCH_MAIN_THREAD_BLOCK_THIS_BEGIN
45 callback();
46 DISPATCH_MAIN_THREAD_BLOCK_END
47}
48
49
50void KNativeInputSDL::setScreenSize(U32 cx, U32 cy) {

Callers 8

pressBackButtonMethod · 0.80
showWindowMethod · 0.80
glCreateContextMethod · 0.80
glResizeWindowMethod · 0.80
glCreateWindowMethod · 0.80
glMakeCurrentMethod · 0.80
drawMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected