MCPcopy Create free account
hub / github.com/EasyRPG/Player / UpdateDisplay

Method UpdateDisplay

src/platform/libretro/ui.cpp:104–110  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

102}
103
104void LibretroUi::UpdateDisplay() {
105 if (UpdateWindow == nullptr) {
106 return;
107 }
108
109 UpdateWindow(main_surface->pixels(), current_display_mode.width, current_display_mode.height, main_surface->pitch());
110}
111
112bool LibretroUi::vChangeDisplaySurfaceResolution(int new_width, int new_height) {
113 if (new_width > fb_max_width || new_height > fb_max_height) {

Callers

nothing calls this directly

Calls 2

pixelsMethod · 0.80
pitchMethod · 0.80

Tested by

no test coverage detected