MCPcopy Create free account
hub / github.com/defold/defold / NullFlip

Function NullFlip

engine/graphics/src/null/graphics_null.cpp:382–397  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

380 }
381
382 static void NullFlip(HContext _context)
383 {
384 NullContext* context = (NullContext*) _context;
385 PostDeleteTextures(context, false);
386
387 // Mimick glfw
388 if (context->m_RequestWindowClose)
389 {
390 if (dmPlatform::TriggerCloseCallback(context->m_BaseContext.m_Window))
391 {
392 CloseWindow((HContext) context);
393 }
394 }
395
396 g_Flipped = 1;
397 }
398
399 #define NATIVE_HANDLE_IMPL(return_type, func_name) return_type GetNative##func_name() { return NULL; }
400

Callers

nothing calls this directly

Calls 3

PostDeleteTexturesFunction · 0.70
TriggerCloseCallbackFunction · 0.50
CloseWindowFunction · 0.50

Tested by

no test coverage detected