BizHawk/waterbox/o2em/bitmap.h

14 lines
179 B
C

#pragma once
#include <stdint.h>
typedef struct
{
uint8_t** line;
uint8_t* dat;
int w;
int h;
} Bitmap;
void clear(Bitmap* b);
Bitmap* NewBitmap(int w, int h);