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

Method createSurface

src/she/sdl2/she.cpp:848–850  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

846 }
847
848 Surface* createSurface(int width, int height) override {
849 return new SDL2Surface(width, height, SDL2Surface::DeleteAndDestroy);
850 }
851
852 Surface* createRgbaSurface(int width, int height) override {
853 return new SDL2Surface(width, height, 32, SDL2Surface::DeleteAndDestroy);

Callers 3

move_regionFunction · 0.80
captureOverlappedAreaMethod · 0.80
getGraphicsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected