MCPcopy Create free account
hub / github.com/diasurgical/devilution / GetOutputSurface

Function GetOutputSurface

SourceX/display.cpp:135–144  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

133}
134
135SDL_Surface *GetOutputSurface()
136{
137#ifdef USE_SDL1
138 return SDL_GetVideoSurface();
139#else
140 if (renderer)
141 return renderer_texture_surface;
142 return SDL_GetWindowSurface(window);
143#endif
144}
145
146bool OutputRequiresScaling()
147{

Callers 15

OutputRequiresScalingFunction · 0.85
ScaleOutputRectFunction · 0.85
OutputToLogicalFunction · 0.85
LogicalToOutputFunction · 0.85
BlitFunction · 0.85
RenderPresentFunction · 0.85
SVidPlayBeginFunction · 0.85
SVidPlayContinueFunction · 0.85
preprocess_finger_upFunction · 0.85
preprocess_finger_motionFunction · 0.85
DialogLoopFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected