mirror of
https://github.com/ENSL/NS.git
synced 2024-11-29 15:51:51 +00:00
4f13237895
Change CRLF to LF in repo.
20 lines
470 B
C++
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) {}
|
|
|
|
|