MCPcopy Create free account
hub / github.com/ddnet/ddnet / GetScreen

Method GetScreen

src/engine/client/graphics_threaded.cpp:218–224  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

216}
217
218void CGraphics_Threaded::GetScreen(float *pTopLeftX, float *pTopLeftY, float *pBottomRightX, float *pBottomRightY) const
219{
220 *pTopLeftX = m_State.m_ScreenTL.x;
221 *pTopLeftY = m_State.m_ScreenTL.y;
222 *pBottomRightX = m_State.m_ScreenBR.x;
223 *pBottomRightY = m_State.m_ScreenBR.y;
224}
225
226void CGraphics_Threaded::LinesBegin()
227{

Callers 15

UpdateMethod · 0.80
RenderNamePlateGameMethod · 0.80
OnRenderMethod · 0.80
OnRenderMethod · 0.80
AddInfoMsgMethod · 0.80
OnRenderMethod · 0.80
ShowInfoMethod · 0.80
IsVisibleInClipRegionMethod · 0.80
DoRenderMethod · 0.80
RenderTileLayerMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected