MCPcopy Create free account
hub / github.com/PolygonTek/BlueshiftEngine / WindowSizeChanged

Function WindowSizeChanged

Source/Player/AndroidMain.cpp:326–335  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

324}
325
326static void WindowSizeChanged(int w, int h) {
327 currentWindowWidth = w;
328 currentWindowHeight = h;
329
330 if (app.mainRenderContext) {
331 app.mainRenderContext->OnResize(w, h);
332 }
333
334 app.OnApplicationResize(w, h);
335}
336
337// Process the next main command.
338static void HandleCmd(android_app *appState, int32_t cmd) {

Callers 1

android_mainFunction · 0.70

Calls 2

OnResizeMethod · 0.80
OnApplicationResizeMethod · 0.45

Tested by

no test coverage detected