MCPcopy Create free account
hub / github.com/DentonW/DevIL / ILAPIENTRY ilutWinSaveImage

Function ILAPIENTRY ilutWinSaveImage

DevIL/src-ILUT/src/ilut_win32.cpp:363–381  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

361
362#ifndef _WIN32_WCE
363ILboolean ILAPIENTRY ilutWinSaveImage(ILstring FileName, HBITMAP Bitmap)
364{
365 ILuint CurName;
366 ILboolean Saved;
367
368 CurName = ilGetCurName();
369
370 iBindImageTemp();
371
372 if (!ilutSetHBitmap(Bitmap)) {
373 ilBindImage(CurName);
374 return IL_FALSE;
375 }
376
377 Saved = ilSaveImage(FileName);
378 ilBindImage(CurName);
379
380 return Saved;
381}
382#endif//_WIN32_WCE
383
384

Callers

nothing calls this directly

Calls 2

ilGetCurNameFunction · 0.85
iBindImageTempFunction · 0.85

Tested by

no test coverage detected