MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / PlatformBlitInit

Function PlatformBlitInit

Engine/source/platformWin32/winAsmBlit.cpp:195–207  ·  view source on GitHub ↗

--------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

193
194//--------------------------------------------------------------------------
195void PlatformBlitInit()
196{
197 bitmapExtrude5551 = bitmapExtrude5551_asm;
198 bitmapExtrudeRGB = bitmapExtrudeRGB_c;
199
200 if (Platform::SystemInfo.processor.properties & CPU_PROP_MMX)
201 {
202#if defined(TORQUE_SUPPORTS_VC_INLINE_X86_ASM)
203 bitmapExtrudeRGB = bitmapExtrudeRGB_mmx;
204 bitmapConvertRGB_to_5551 = bitmapConvertRGB_to_5551_mmx;
205#endif
206 }
207}

Callers 1

initMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected