MCPcopy Create free account
hub / github.com/LibreSprite/LibreSprite / setGpuAcceleration

Method setGpuAcceleration

src/she/sdl2/she.cpp:830–833  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

828 }
829
830 void setGpuAcceleration(bool state) override {
831 if (!unique_display)
832 SDL2Display::gpu = state;
833 }
834
835 gfx::Size defaultNewDisplaySize() override {
836 return gfx::Size(0, 0);

Callers 2

create_main_displayFunction · 0.80
saveConfigMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected