10 lines
154 B
C++
10 lines
154 B
C++
|
#include "Bitmap.h"
|
||
|
|
||
|
void Bitmap::resize(uint32_t w, uint32_t h)
|
||
|
{
|
||
|
width = w;
|
||
|
height = h;
|
||
|
|
||
|
m_pixdata.resize(w*h, Fader::Color{0, 0, 0, 0});
|
||
|
}
|