mirror of
https://github.com/blupi-games/planetblupi
synced 2024-12-30 10:15:36 +01:00
Remove test code
This commit is contained in:
parent
0c6fc2bcdd
commit
515c8fedd9
19
pixmap.cpp
19
pixmap.cpp
@ -182,17 +182,6 @@ bool CPixmap::Create(HWND hwnd, POINT dim,
|
|||||||
OutputDebug("Fatal error: CreateSurface\n");
|
OutputDebug("Fatal error: CreateSurface\n");
|
||||||
return false;
|
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.
|
// Create the back buffer.
|
||||||
ZeroMemory(&ddsd, sizeof(ddsd));
|
ZeroMemory(&ddsd, sizeof(ddsd));
|
||||||
@ -211,14 +200,6 @@ bool CPixmap::Create(HWND hwnd, POINT dim,
|
|||||||
return false;
|
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.
|
// Create the mouse buffer.
|
||||||
ZeroMemory(&ddsd, sizeof(ddsd));
|
ZeroMemory(&ddsd, sizeof(ddsd));
|
||||||
ddsd.dwSize = sizeof(ddsd);
|
ddsd.dwSize = sizeof(ddsd);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user