From 515c8fedd9e209cb8ce85a78e992a264706987cb Mon Sep 17 00:00:00 2001 From: Mathieu Schroeter Date: Thu, 26 Jan 2017 19:13:07 +0100 Subject: [PATCH] Remove test code --- pixmap.cpp | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/pixmap.cpp b/pixmap.cpp index 8b97a51..ec2fdff 100644 --- a/pixmap.cpp +++ b/pixmap.cpp @@ -182,17 +182,6 @@ bool CPixmap::Create(HWND hwnd, POINT dim, OutputDebug("Fatal error: CreateSurface\n"); return false; } - - - - /*m_lpSDLPrimary = SDL_CreateRGBSurface (0, dim.x, dim.y, 32, - rmask, gmask, bmask, amask); - if (m_lpSDLPrimary == NULL) - { - SDL_Log ("SDL_CreateRGBSurfaceWithFormat() failed: %s", SDL_GetError ()); - return false; - }*/ - //m_lpSDLPrimary = SDL_GetWindowSurface (g_window); // Create the back buffer. ZeroMemory(&ddsd, sizeof(ddsd)); @@ -211,14 +200,6 @@ bool CPixmap::Create(HWND hwnd, POINT dim, return false; } - /*m_lpSDLBack = SDL_CreateRGBSurface (0, dim.x, dim.y, 32, - rmask, gmask, bmask, amask); - if (m_lpSDLBack == NULL) - { - SDL_Log ("SDL_CreateRGBSurfaceWithFormat() failed: %s", SDL_GetError ()); - return false; - }*/ - // Create the mouse buffer. ZeroMemory(&ddsd, sizeof(ddsd)); ddsd.dwSize = sizeof(ddsd);