#include "surface.h"

/* Initializes an RGBA8888 surface. */
void
surface_rgba_init(SDL_Surface** self, ivec2 size)
{
	*self = SDL_CreateRGBSurface
	(
		0,
		size[0],
		size[1],
		32,
		0xFF000000,
		0x00FF0000,
		0x0000FF00,
		0x000000FF
	);
}
