NS/main/source/ui/bitmappng.cpp
Ari Timonen 4f13237895 Update line endings
Change CRLF to LF in repo.
2018-04-22 18:55:55 +03:00

20 lines
470 B
C++

//========= Copyright © 1996-2001, Valve LLC, All rights reserved. ============
//
// Purpose:
//
// $NoKeywords: $
//=============================================================================
#include "VGUI.h"
#include "bitmappng.h"
#include <memory.h>
BitmapPNG::BitmapPNG(int width, int height, uchar* data)
{
setSize(width,height); //double-check that this allocates the memory we need!
memcpy(_rgba,data,width*height*4);
}
BitmapPNG::~BitmapPNG(void) {}