MCPcopy Create free account
hub / github.com/DentonW/DevIL / DestroyGDI

Function DestroyGDI

DevIL/examples/animation_example/AnimTest.cpp:171–194  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

169
170
171void DestroyGDI()
172{
173 ILuint i;
174
175 if (Bitmaps) {
176 for (i = 0; i < NumImages; i++) {
177 DeleteObject(*(Bitmaps + i));
178 }
179 }
180
181 if (hMemDC)
182 DeleteDC(hMemDC);
183
184 if (Bitmaps)
185 delete []Bitmaps;
186 if (BmpInfo)
187 delete []BmpInfo;
188
189 Bitmaps = NULL;
190 BmpInfo = NULL;
191 hMemDC = NULL;
192
193 return;
194}
195
196
197void DisplayImage()

Callers 1

WndProcFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected