summaryrefslogtreecommitdiffstats
path: root/ue2/imgsynth2/cwindowsbitmap.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ue2/imgsynth2/cwindowsbitmap.cpp')
-rw-r--r--ue2/imgsynth2/cwindowsbitmap.cpp16
1 files changed, 0 insertions, 16 deletions
diff --git a/ue2/imgsynth2/cwindowsbitmap.cpp b/ue2/imgsynth2/cwindowsbitmap.cpp
index 6909136..ebbdd4c 100644
--- a/ue2/imgsynth2/cwindowsbitmap.cpp
+++ b/ue2/imgsynth2/cwindowsbitmap.cpp
@@ -27,22 +27,6 @@ CWindowsBitmap::CWindowsBitmap()
27 27
28/*----------------------------------------------------------------------------*/ 28/*----------------------------------------------------------------------------*/
29 29
30CWindowsBitmap::~CWindowsBitmap()
31{
32 /* delete pixeldata */
33 if (m_pixeldata != NULL)
34 delete[] m_pixeldata;
35 m_pixeldata = NULL;
36
37 /* delete pixelformat handlers */
38 set<CPixelFormat *>::iterator it;
39 for (it = m_handlers.begin(); it != m_handlers.end(); it++)
40 delete *it;
41 m_pixelformat = NULL;
42}
43
44/*----------------------------------------------------------------------------*/
45
46void CWindowsBitmap::read(std::ifstream& in) 30void CWindowsBitmap::read(std::ifstream& in)
47{ 31{
48 /* read and check file header */ 32 /* read and check file header */